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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 105 kB / 16.45 MB, free: 6.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 225.6 MB / 244.8 MB, free: 14.2 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 193.4 kB / 299.8 MB, free: 9.848 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5735/0.5735, allocations: 99.65 MB / 454.4 MB, free: 5.074 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.003676/0.003676, allocations: 87.84 kB / 0.6073 GB, free: 9.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1885, allocations: 76.93 MB / 0.6824 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01002/0.1985, allocations: 8.299 MB / 0.6905 GB, free: 4.117 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006873/0.2054, allocations: 2.623 MB / 0.6931 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/0.2069, allocations: 12 kB / 0.6931 GB, free: 1.477 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.2082, allocations: 309.4 kB / 0.6934 GB, free: 1.172 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3526/0.5608, allocations: 1.196 MB / 0.6946 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002058/0.5628, allocations: 0.6921 MB / 0.6953 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003689/0.5665, allocations: 2.39 MB / 0.6976 GB, free: 8.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005606/0.5671, allocations: 209.9 kB / 0.6978 GB, free: 8.758 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00175/0.5688, allocations: 0.9696 MB / 0.6987 GB, free: 8.625 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.5707, allocations: 1.335 MB / 0.7 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004589/0.5712, allocations: 202.6 kB / 0.7002 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009239/0.5721, allocations: 388.3 kB / 0.7006 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004909/0.5726, allocations: 0.5048 MB / 0.7011 GB, free: 8.348 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.5736, allocations: 0.9759 MB / 0.7021 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003431/0.5771, allocations: 2.348 MB / 0.7043 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.5771, allocations: 0 / 0.7043 GB, free: 7.457 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.5771, allocations: 3.562 kB / 0.7044 GB, free: 7.457 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.393e-05/0.5771, allocations: 3.375 kB / 0.7044 GB, free: 7.457 MB / 494.1 MB 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.01693/0.5941, allocations: 4.172 MB / 0.7084 GB, free: 5.879 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.5941, allocations: 10.25 kB / 0.7084 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001961/0.5943, allocations: 140 kB / 0.7086 GB, free: 5.781 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.5981, allocations: 0.5803 MB / 0.7091 GB, free: 5.633 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.6007, allocations: 1.23 MB / 0.7103 GB, free: 4.895 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.6009, allocations: 276.6 kB / 0.7106 GB, free: 4.664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000274/0.6012, allocations: 115 kB / 0.7107 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002562/0.6038, allocations: 1.109 MB / 0.7118 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.6038, allocations: 0 / 0.7118 GB, free: 4.211 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6039, allocations: 35.06 kB / 0.7118 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.6039, allocations: 20.91 kB / 0.7118 GB, free: 4.184 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002699/0.6066, allocations: 1.203 MB / 0.713 GB, free: 3.793 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.009464/0.6161, allocations: 4.645 MB / 0.7176 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003184/0.6193, allocations: 2.086 MB / 0.7196 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/0.6208, allocations: 0.7262 MB / 0.7203 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.6209, allocations: 27.78 kB / 0.7203 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.621, allocations: 48.88 kB / 0.7204 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.407e-06/0.621, allocations: 0 / 0.7204 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133): time 0.0292/0.6502, allocations: 6.959 MB / 0.7272 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.596e-05/0.6503, allocations: 65.53 kB / 0.7272 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003867/0.6541, allocations: 1.662 MB / 0.7289 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005226/0.6546, allocations: 64.36 kB / 0.7289 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007896/0.6554, allocations: 0.5564 MB / 0.7295 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001048/0.6565, allocations: 0.53 MB / 0.73 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/0.6577, allocations: 0.513 MB / 0.7305 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6579, allocations: 306.6 kB / 0.7308 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002496/0.6604, allocations: 1.158 MB / 0.7319 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002813/0.6632, allocations: 1.368 MB / 0.7332 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005199/0.6684, allocations: 2.381 MB / 0.7356 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/0.6684, allocations: 1.438 kB / 0.7356 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01145/0.6799, allocations: 4.313 MB / 0.7398 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.996e-05/0.6799, allocations: 5.781 kB / 0.7398 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.6799, allocations: 2.75 kB / 0.7398 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01141/0.6913, allocations: 2.885 MB / 0.7426 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00272/0.694, allocations: 486 kB / 0.7431 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006321/0.7004, allocations: 2.563 MB / 0.7456 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/0.7041, allocations: 262 kB / 0.7458 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005969/0.7047, allocations: 91.97 kB / 0.7459 GB, free: 15.34 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 (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.001254/0.7059, allocations: 311.9 kB / 0.7462 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008184/0.7067, allocations: 178.8 kB / 0.7464 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01214/0.7189, allocations: 3.58 MB / 0.7499 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.624e-05/0.7189, allocations: 12 kB / 0.7499 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.7189, allocations: 4 kB / 0.7499 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.951e-05/0.719, allocations: 7.969 kB / 0.7499 GB, free: 11.29 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.01711/0.7361, allocations: 5.711 MB / 0.7555 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.7361, allocations: 0 / 0.7555 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.7373, allocations: 174.2 kB / 0.7556 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006006/0.7434, allocations: 1.535 MB / 0.7571 GB, free: 3.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004011/0.7438, allocations: 24 kB / 0.7572 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02146/0.7652, allocations: 8.017 MB / 0.765 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.7652, allocations: 0 / 0.765 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01504/0.7803, allocations: 4.622 MB / 0.7695 GB, free: 7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.7814, allocations: 315.6 kB / 0.7698 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000887/0.7822, allocations: 24 kB / 0.7698 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002124/0.7844, allocations: 84.77 kB / 0.7699 GB, free: 6.566 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008449/0.7852, allocations: 193.5 kB / 0.7701 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/0.7855, allocations: 35.98 kB / 0.7701 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00232/0.7878, allocations: 1.09 MB / 0.7712 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.7878, allocations: 0 / 0.7712 GB, free: 5.258 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002863/0.7906, allocations: 0.5973 MB / 0.7718 GB, free: 4.66 MB / 0.5294 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.01532/0.806, allocations: 5.226 MB / 0.7769 GB, free: 15.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0101/0.8161, allocations: 2.804 MB / 0.7796 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.8161, allocations: 0 / 0.7796 GB, free: 12.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005372/0.8214, allocations: 1.493 MB / 0.7811 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00273/0.8242, allocations: 137.5 kB / 0.7812 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0493/0.8735, allocations: 18.93 MB / 0.7997 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001241/0.8747, allocations: 1.238 MB / 0.8009 GB, free: 6.543 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001185/0.8759, allocations: 163.2 kB / 0.8011 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001538/0.8774, allocations: 0.636 MB / 0.8017 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of SimCode: time 1.463e-06/0.8774, allocations: 0 / 0.8017 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/0.9858, allocations: 45.83 MB / 0.8464 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.38, allocations: 15.47 kB / 0.8465 GB, free: 8.148 MB / 0.6075 GB " [Timeout remaining time 642] (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: 21.17092884797603] Failed to read output from testmodel.py, exit status != 0: 17.506524860858917 17.530427284 16.948701656 Calling exit ...