Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.001382/0.001382, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.527/1.527, 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.002297/0.002297, allocations: 211.8 kB / 309.2 MB, free: 3.137 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5767/0.5767, allocations: 101.3 MB / 467 MB, free: 10.36 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.002551/0.002551, allocations: 83.86 kB / 0.6244 GB, free: 12.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5213, allocations: 78.6 MB / 0.7012 GB, free: 9.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007122/0.5285, allocations: 7.068 MB / 0.7081 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004908/0.5334, allocations: 2.347 MB / 0.7104 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009271/0.5343, allocations: 9.312 kB / 0.7104 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.5349, allocations: 256.3 kB / 0.7106 GB, free: 2.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002283/0.5372, allocations: 1.011 MB / 0.7116 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.5383, allocations: 0.5889 MB / 0.7122 GB, free: 1.379 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001963/0.5403, allocations: 1.86 MB / 0.714 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.5406, allocations: 172.6 kB / 0.7142 GB, free: 408 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009728/0.5416, allocations: 0.7793 MB / 0.7149 GB, free: 28 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001356/0.5429, allocations: 1.02 MB / 0.7159 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002212/0.5431, allocations: 161 kB / 0.7161 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006706/0.5438, allocations: 339.3 kB / 0.7164 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.5442, allocations: 403.3 kB / 0.7168 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007615/0.545, allocations: 0.7643 MB / 0.7175 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002367/0.5473, allocations: 1.886 MB / 0.7194 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.5473, allocations: 0.6094 kB / 0.7194 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.32e-07/0.5473, allocations: 0 / 0.7194 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.5474, allocations: 0 / 0.7194 GB, free: 13.91 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.01262/0.56, allocations: 3.32 MB / 0.7226 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.56, allocations: 7.875 kB / 0.7226 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001767/0.5602, allocations: 118.3 kB / 0.7227 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003284/0.5635, allocations: 0.533 MB / 0.7233 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/0.5655, allocations: 0.9136 MB / 0.7241 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003847/0.5659, allocations: 290.2 kB / 0.7244 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000224/0.5661, allocations: 90.75 kB / 0.7245 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002815/0.5689, allocations: 0.991 MB / 0.7255 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.569, allocations: 0 / 0.7255 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.5691, allocations: 30.16 kB / 0.7255 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.5691, allocations: 17.31 kB / 0.7255 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002943/0.572, allocations: 1.119 MB / 0.7266 GB, free: 10.79 MB / 0.4981 GB 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.007961/0.58, allocations: 3.713 MB / 0.7302 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.5831, allocations: 1.163 MB / 0.7314 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.5847, allocations: 0.6591 MB / 0.732 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001207/0.5848, allocations: 16.73 kB / 0.732 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.5848, allocations: 51.25 kB / 0.7321 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=105): time 3.116e-06/0.5848, allocations: 0 / 0.7321 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of matching and sorting (n=105): time 0.02609/0.6109, allocations: 6.418 MB / 0.7384 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.611, allocations: 66.97 kB / 0.7384 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002249/0.6132, allocations: 1.275 MB / 0.7397 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003464/0.6136, allocations: 49.89 kB / 0.7397 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.614, allocations: 478.7 kB / 0.7402 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/0.6146, allocations: 433.5 kB / 0.7406 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007219/0.6154, allocations: 382.4 kB / 0.7409 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.6155, allocations: 301.1 kB / 0.7412 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002224/0.6177, allocations: 0.9499 MB / 0.7422 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.6202, allocations: 1.124 MB / 0.7433 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004596/0.6248, allocations: 1.961 MB / 0.7452 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.6248, allocations: 1.125 kB / 0.7452 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=258) (initialization): time 0.008615/0.6334, allocations: 3.285 MB / 0.7484 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.6334, allocations: 17.52 kB / 0.7484 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6334, allocations: 5.938 kB / 0.7484 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009477/0.6429, allocations: 2.336 MB / 0.7507 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.6449, allocations: 364.6 kB / 0.751 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/0.6509, allocations: 2.292 MB / 0.7533 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002747/0.6536, allocations: 234.7 kB / 0.7535 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003733/0.654, allocations: 67.98 kB / 0.7536 GB, free: 10.55 MB / 0.5137 GB 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 (206): * Single equations (assignments): 205 * 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.00086/0.6549, allocations: 257.5 kB / 0.7538 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005174/0.6554, allocations: 147.1 kB / 0.7539 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/0.667, allocations: 3.392 MB / 0.7573 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.667, allocations: 16 kB / 0.7573 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/0.667, allocations: 0 / 0.7573 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.284e-05/0.6671, allocations: 3.984 kB / 0.7573 GB, free: 6.719 MB / 0.5137 GB 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.01552/0.6826, allocations: 5.081 MB / 0.7622 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6826, allocations: 0 / 0.7622 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009303/0.6835, allocations: 135.8 kB / 0.7624 GB, free: 1.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00579/0.6893, allocations: 1.497 MB / 0.7638 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001941/0.6895, allocations: 16 kB / 0.7638 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02157/0.7111, allocations: 7.908 MB / 0.7716 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.834e-06/0.7111, allocations: 8 kB / 0.7716 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01456/0.7256, allocations: 4.323 MB / 0.7758 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007645/0.7264, allocations: 178.7 kB / 0.776 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005836/0.727, allocations: 20 kB / 0.776 GB, free: 3.285 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.7288, allocations: 99.88 kB / 0.7761 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006934/0.7295, allocations: 188.7 kB / 0.7763 GB, free: 3.004 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001307/0.7296, allocations: 28 kB / 0.7763 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001766/0.7314, allocations: 0.8513 MB / 0.7771 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7314, allocations: 3.938 kB / 0.7771 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002298/0.7337, allocations: 483.7 kB / 0.7776 GB, free: 1.645 MB / 0.5294 GB 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 (73): * Single equations (assignments): 72 * 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.01375/0.7474, allocations: 4.785 MB / 0.7823 GB, free: 12.83 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007984/0.7554, allocations: 2.332 MB / 0.7845 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.7554, allocations: 0 / 0.7845 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/0.76, allocations: 1.333 MB / 0.7858 GB, free: 9.152 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.7614, allocations: 112.6 kB / 0.7859 GB, free: 9.039 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03631/0.7977, allocations: 15.13 MB / 0.8007 GB, free: 9.699 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.7987, allocations: 1.124 MB / 0.8018 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0006353/0.7993, allocations: 124.9 kB / 0.8019 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009403/0.8003, allocations: 0.4992 MB / 0.8024 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.8003, allocations: 0 / 0.8024 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09598/0.8962, allocations: 37.84 MB / 0.8394 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.8, allocations: 14.83 kB / 0.8394 GB, free: 2.211 MB / 0.5919 GB " [Timeout remaining time 643] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.49083344009705] Failed to read output from testmodel.py, exit status != 0: 16.944890161044896 16.962599249 16.411707252 Calling exit ...