Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 252.7 MB, free: 8.289 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001723/0.001723, allocations: 209.3 kB / 309.2 MB, free: 3.156 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5018/0.5018, allocations: 79.74 MB / 445.4 MB, free: 14.86 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 91.86 kB / 0.5929 GB, free: 14.01 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1633, allocations: 73.3 MB / 0.6645 GB, free: 4.613 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.009875/0.1732, allocations: 7.018 MB / 0.6713 GB, free: 13.56 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006037/0.1792, allocations: 2.34 MB / 0.6736 GB, free: 11.21 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001426/0.1807, allocations: 12 kB / 0.6736 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1817, allocations: 249.8 kB / 0.6739 GB, free: 10.96 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.1861, allocations: 1.293 MB / 0.6751 GB, free: 9.668 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.1876, allocations: 0.5077 MB / 0.6756 GB, free: 9.164 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003398/0.191, allocations: 2.019 MB / 0.6776 GB, free: 7.137 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005851/0.1916, allocations: 173.7 kB / 0.6778 GB, free: 6.957 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.1931, allocations: 0.7979 MB / 0.6785 GB, free: 6.156 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001903/0.195, allocations: 1.051 MB / 0.6796 GB, free: 5.102 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005897/0.1956, allocations: 156 kB / 0.6797 GB, free: 4.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.1968, allocations: 343.8 kB / 0.6801 GB, free: 4.613 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007227/0.1975, allocations: 410.5 kB / 0.6804 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001342/0.1988, allocations: 0.7692 MB / 0.6812 GB, free: 3.438 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003194/0.202, allocations: 1.91 MB / 0.6831 GB, free: 1.52 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.202, allocations: 0 / 0.6831 GB, free: 1.52 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.202, allocations: 0 / 0.6831 GB, free: 1.52 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.744e-05/0.2021, allocations: 0 / 0.6831 GB, free: 1.52 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01693/0.219, allocations: 3.876 MB / 0.6868 GB, free: 13.6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.2191, allocations: 11.98 kB / 0.6869 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003335/0.2194, allocations: 114.7 kB / 0.687 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003545/0.223, allocations: 0.5266 MB / 0.6875 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.2252, allocations: 0.9133 MB / 0.6884 GB, free: 11.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.2256, allocations: 290.3 kB / 0.6886 GB, free: 11.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003338/0.226, allocations: 91.94 kB / 0.6887 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002579/0.2285, allocations: 0.9794 MB / 0.6897 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2286, allocations: 4 kB / 0.6897 GB, free: 10.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2287, allocations: 24 kB / 0.6897 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.19e-05/0.2287, allocations: 23.98 kB / 0.6897 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/0.2315, allocations: 1.085 MB / 0.6908 GB, free: 9.453 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008082/0.2396, allocations: 3.708 MB / 0.6944 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/0.2428, allocations: 1.137 MB / 0.6955 GB, free: 4.434 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.2443, allocations: 0.6479 MB / 0.6962 GB, free: 3.785 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.2444, allocations: 32.95 kB / 0.6962 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2445, allocations: 39.56 kB / 0.6962 GB, free: 3.703 MB / 494.1 MB Notification: Performance of pre-optimization done (n=103): time 3.186e-06/0.2445, allocations: 0 / 0.6962 GB, free: 3.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=103): time 0.3128/0.5573, allocations: 5.486 MB / 0.7016 GB, free: 34.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5573, allocations: 66.97 kB / 0.7017 GB, free: 34.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/0.5591, allocations: 1.284 MB / 0.7029 GB, free: 34.39 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002641/0.5594, allocations: 53.73 kB / 0.703 GB, free: 34.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5597, allocations: 479.3 kB / 0.7034 GB, free: 34.28 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003649/0.5601, allocations: 412.5 kB / 0.7038 GB, free: 34.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006307/0.5607, allocations: 381.9 kB / 0.7042 GB, free: 34.11 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.5608, allocations: 308.6 kB / 0.7045 GB, free: 33.81 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.5628, allocations: 0.9449 MB / 0.7054 GB, free: 33.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.5651, allocations: 1.104 MB / 0.7065 GB, free: 33.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004027/0.5691, allocations: 1.935 MB / 0.7084 GB, free: 33.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.967e-06/0.5691, allocations: 0.9688 kB / 0.7084 GB, free: 33.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00707/0.5762, allocations: 3.004 MB / 0.7113 GB, free: 32.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.5762, allocations: 8.562 kB / 0.7113 GB, free: 32.15 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5762, allocations: 5.375 kB / 0.7113 GB, free: 32.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009699/0.5859, allocations: 2.276 MB / 0.7135 GB, free: 31.83 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.5878, allocations: 353.1 kB / 0.7139 GB, free: 31.81 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005268/0.5931, allocations: 2.28 MB / 0.7161 GB, free: 30.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002384/0.5955, allocations: 225.4 kB / 0.7163 GB, free: 30.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001602/0.5956, allocations: 66.7 kB / 0.7164 GB, free: 30.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (204): * Single equations (assignments): 203 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0005211/0.5962, allocations: 264.3 kB / 0.7166 GB, free: 30.35 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.5964, allocations: 140.3 kB / 0.7168 GB, free: 30.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01083/0.6072, allocations: 3.318 MB / 0.72 GB, free: 29.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.136e-05/0.6073, allocations: 10.94 kB / 0.72 GB, free: 29.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6073, allocations: 0 / 0.72 GB, free: 29.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-05/0.6073, allocations: 6.469 kB / 0.72 GB, free: 29.43 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.6196, allocations: 4.97 MB / 0.7249 GB, free: 27.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.6196, allocations: 8.969 kB / 0.7249 GB, free: 27.32 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007859/0.6204, allocations: 131.2 kB / 0.725 GB, free: 27.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005165/0.6255, allocations: 1.432 MB / 0.7264 GB, free: 26.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/0.6256, allocations: 26.38 kB / 0.7264 GB, free: 26.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01807/0.6437, allocations: 7.743 MB / 0.734 GB, free: 21.67 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6437, allocations: 3.938 kB / 0.734 GB, free: 21.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.6554, allocations: 4.215 MB / 0.7381 GB, free: 19.05 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005593/0.6559, allocations: 178 kB / 0.7383 GB, free: 18.89 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003882/0.6563, allocations: 23.98 kB / 0.7383 GB, free: 18.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001459/0.6578, allocations: 87.91 kB / 0.7384 GB, free: 18.79 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005314/0.6583, allocations: 200.4 kB / 0.7386 GB, free: 18.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.404e-05/0.6584, allocations: 27.94 kB / 0.7386 GB, free: 18.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001256/0.6596, allocations: 0.8473 MB / 0.7394 GB, free: 17.71 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6596, allocations: 0 / 0.7394 GB, free: 17.71 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001691/0.6613, allocations: 487.4 kB / 0.7399 GB, free: 17.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (71): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01093/0.6723, allocations: 4.685 MB / 0.7445 GB, free: 12.54 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006755/0.679, allocations: 2.283 MB / 0.7467 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.679, allocations: 0 / 0.7467 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00381/0.6828, allocations: 1.298 MB / 0.748 GB, free: 8.957 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/0.6842, allocations: 103.1 kB / 0.7481 GB, free: 8.855 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02841/0.7126, allocations: 14.64 MB / 0.7624 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/0.7136, allocations: 1.112 MB / 0.7634 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005707/0.7142, allocations: 124.7 kB / 0.7636 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008835/0.7151, allocations: 495.3 kB / 0.764 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.7151, allocations: 0 / 0.764 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09395/0.809, allocations: 37.7 MB / 0.8009 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.93/16.74, allocations: 16.27 kB / 0.8009 GB, free: 2.789 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.325448447838426] Failed to read output from testmodel.py, exit status != 0: 16.879626989131793 16.901066766 16.695568094 Calling exit ...