Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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.001434/0.001434, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.501/1.501, allocations: 230.6 MB / 252.7 MB, free: 8.062 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.001809/0.001809, allocations: 208.8 kB / 309.2 MB, free: 2.938 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.5979/0.5979, allocations: 107.3 MB / 473 MB, free: 4.383 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.2.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.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_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.002479/0.002479, allocations: 79.88 kB / 0.6332 GB, free: 4.977 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5461/0.5486, allocations: 80.18 MB / 0.7115 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.007867/0.5564, allocations: 7.179 MB / 0.7185 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006474/0.5629, allocations: 2.532 MB / 0.721 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.5646, allocations: 10.91 kB / 0.721 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00131/0.5659, allocations: 307.2 kB / 0.7213 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00486/0.5708, allocations: 1.174 MB / 0.7224 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.5729, allocations: 0.6847 MB / 0.7231 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004399/0.5773, allocations: 2.38 MB / 0.7254 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006828/0.578, allocations: 208.4 kB / 0.7256 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.5804, allocations: 0.9941 MB / 0.7266 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002944/0.5834, allocations: 1.216 MB / 0.7278 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.5844, allocations: 201.8 kB / 0.728 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001955/0.5864, allocations: 370.6 kB / 0.7283 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.5877, allocations: 0.5083 MB / 0.7288 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002753/0.5904, allocations: 0.8163 MB / 0.7296 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006815/0.5972, allocations: 2.375 MB / 0.7319 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.5973, allocations: 0 / 0.7319 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.177e-06/0.5973, allocations: 5.094 kB / 0.7319 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0002152/0.5975, allocations: 0 / 0.7319 GB, free: 8.074 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.02072/0.6182, allocations: 4.095 MB / 0.7359 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.84e-05/0.6183, allocations: 14 kB / 0.736 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005863/0.6189, allocations: 139.3 kB / 0.7361 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004335/0.6232, allocations: 0.5812 MB / 0.7367 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.6274, allocations: 1.167 MB / 0.7378 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000525/0.6279, allocations: 330.2 kB / 0.7381 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006202/0.6285, allocations: 122.2 kB / 0.7382 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003459/0.632, allocations: 1.102 MB / 0.7393 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.632, allocations: 0 / 0.7393 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001456/0.6321, allocations: 34.22 kB / 0.7393 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.034e-05/0.6322, allocations: 25.28 kB / 0.7394 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003169/0.6353, allocations: 1.197 MB / 0.7405 GB, free: 2.918 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.01114/0.6465, allocations: 3.337 MB / 0.7438 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003662/0.6501, allocations: 1.329 MB / 0.7451 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001733/0.6519, allocations: 0.7318 MB / 0.7458 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001304/0.652, allocations: 15.25 kB / 0.7458 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/0.6521, allocations: 53.38 kB / 0.7459 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 4.268e-06/0.6521, allocations: 0 / 0.7459 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.03116/0.6832, allocations: 6.883 MB / 0.7526 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.265e-05/0.6833, allocations: 69.34 kB / 0.7527 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004588/0.6879, allocations: 1.665 MB / 0.7543 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004868/0.6884, allocations: 56.95 kB / 0.7543 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008462/0.6892, allocations: 0.5553 MB / 0.7549 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001055/0.6903, allocations: 0.5272 MB / 0.7554 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002125/0.6924, allocations: 0.5232 MB / 0.7559 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6926, allocations: 309.1 kB / 0.7562 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002918/0.6955, allocations: 1.157 MB / 0.7573 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003009/0.6985, allocations: 1.372 MB / 0.7587 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005352/0.7038, allocations: 2.374 MB / 0.761 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.7039, allocations: 0 / 0.761 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.0124/0.7163, allocations: 4.31 MB / 0.7652 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.7163, allocations: 11.94 kB / 0.7652 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.7163, allocations: 192 / 0.7652 GB, free: 15.92 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0121/0.7284, allocations: 2.889 MB / 0.768 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.7311, allocations: 479.3 kB / 0.7685 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007/0.7381, allocations: 2.557 MB / 0.771 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003812/0.7419, allocations: 258.4 kB / 0.7712 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.7426, allocations: 95.97 kB / 0.7713 GB, free: 9.629 MB / 0.5294 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 (284): * Single equations (assignments): 283 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001283/0.7438, allocations: 309.3 kB / 0.7716 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009066/0.7448, allocations: 178.8 kB / 0.7718 GB, free: 9.141 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01255/0.7573, allocations: 3.585 MB / 0.7753 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.397e-05/0.7573, allocations: 12 kB / 0.7753 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.366e-05/0.7573, allocations: 0 / 0.7753 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-05/0.7574, allocations: 11.95 kB / 0.7753 GB, free: 5.52 MB / 0.5294 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.01731/0.7747, allocations: 4.874 MB / 0.7801 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/0.7747, allocations: 0 / 0.7801 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.776, allocations: 163.8 kB / 0.7802 GB, free: 432 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006314/0.7823, allocations: 1.531 MB / 0.7817 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/0.7827, allocations: 35.92 kB / 0.7818 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/0.8047, allocations: 7.701 MB / 0.7893 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.8047, allocations: 0 / 0.7893 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01535/0.82, allocations: 4.625 MB / 0.7938 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/0.8212, allocations: 234.5 kB / 0.794 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008527/0.8221, allocations: 28 kB / 0.794 GB, free: 2.121 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/0.8243, allocations: 79.92 kB / 0.7941 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008587/0.8251, allocations: 205.4 kB / 0.7943 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001891/0.8253, allocations: 32 kB / 0.7943 GB, free: 1.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002541/0.8278, allocations: 1.094 MB / 0.7954 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.8278, allocations: 0 / 0.7954 GB, free: 0.7188 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002855/0.8307, allocations: 0.5973 MB / 0.796 GB, free: 124 kB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (96): * Single equations (assignments): 95 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01572/0.8464, allocations: 5.237 MB / 0.8011 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0106/0.857, allocations: 2.807 MB / 0.8039 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.857, allocations: 4 kB / 0.8039 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005827/0.8629, allocations: 1.496 MB / 0.8053 GB, free: 6.531 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003592/0.8665, allocations: 132 kB / 0.8054 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0514/0.9179, allocations: 18.94 MB / 0.8239 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009876/0.9188, allocations: 0.6504 MB / 0.8246 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001126/0.92, allocations: 163.3 kB / 0.8247 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001625/0.9216, allocations: 0.636 MB / 0.8254 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of SimCode: time 9.41e-07/0.9216, allocations: 0 / 0.8254 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1114/1.033, allocations: 46.76 MB / 0.871 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.3, allocations: 4 kB / 0.871 GB, free: 3.137 MB / 0.6231 GB " [Timeout remaining time 644] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.243627064861357] Failed to read output from testmodel.py, exit status != 0: 16.45270300284028 16.470751036 15.87000826 Calling exit ...