Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1119/0.1119, allocations: 12.78 MB / 31.61 MB, free: 6.184 MB / 26.18 MB " [Timeout remaining time 180] 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.001364/0.001364, allocations: 112.1 kB / 37.74 MB, free: 0.7695 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 207.6 MB / 251.4 MB, free: 2.734 MB / 190.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.001503/0.001503, allocations: 200.4 kB / 306.7 MB, free: 11.25 MB / 254.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4974/0.4974, allocations: 79.72 MB / 441.6 MB, free: 11.32 MB / 302.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Running command: translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") translateModel(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system") [Timeout 660] "Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004135/0.004135, allocations: 155.2 kB / 0.5889 GB, free: 8 kB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3655/0.3696, allocations: 72.04 MB / 0.6592 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006339/0.376, allocations: 8.323 MB / 0.6673 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005188/0.3812, allocations: 2.597 MB / 0.6699 GB, free: 0.8047 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006719/0.3818, allocations: 8 kB / 0.6699 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005815/0.3824, allocations: 317.3 kB / 0.6702 GB, free: 496 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003393/0.3858, allocations: 1.549 MB / 0.6717 GB, free: 14.95 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.3871, allocations: 0.6004 MB / 0.6723 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003566/0.3906, allocations: 2.566 MB / 0.6748 GB, free: 11.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004634/0.3911, allocations: 205.3 kB / 0.675 GB, free: 11.55 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001617/0.3927, allocations: 1.035 MB / 0.676 GB, free: 10.51 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001714/0.3944, allocations: 1.385 MB / 0.6774 GB, free: 9.121 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003141/0.3947, allocations: 200 kB / 0.6775 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008314/0.3956, allocations: 383.8 kB / 0.6779 GB, free: 8.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005352/0.3961, allocations: 0.5138 MB / 0.6784 GB, free: 8.035 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.3972, allocations: 0.9868 MB / 0.6794 GB, free: 7.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002947/0.4002, allocations: 2.386 MB / 0.6817 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4002, allocations: 0 / 0.6817 GB, free: 4.656 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4002, allocations: 4 kB / 0.6817 GB, free: 4.652 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.814e-05/0.4002, allocations: 0 / 0.6817 GB, free: 4.652 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02193/0.4221, allocations: 4.927 MB / 0.6865 GB, free: 15.68 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.4222, allocations: 16.03 kB / 0.6865 GB, free: 15.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003886/0.4261, allocations: 0.5849 MB / 0.6871 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/0.4287, allocations: 1.152 MB / 0.6882 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003642/0.4291, allocations: 272.8 kB / 0.6885 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004004/0.4295, allocations: 119.9 kB / 0.6886 GB, free: 13.47 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.4323, allocations: 1.092 MB / 0.6897 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.683e-05/0.4323, allocations: 0 / 0.6897 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.4325, allocations: 36 kB / 0.6897 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.053e-05/0.4325, allocations: 20 kB / 0.6897 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002712/0.4352, allocations: 1.183 MB / 0.6909 GB, free: 11.13 MB / 478.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.008376/0.4436, allocations: 4.564 MB / 0.6953 GB, free: 6.355 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003234/0.4468, allocations: 1.295 MB / 0.6966 GB, free: 5.055 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001648/0.4484, allocations: 0.7192 MB / 0.6973 GB, free: 4.332 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001274/0.4486, allocations: 29.28 kB / 0.6973 GB, free: 4.305 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.4486, allocations: 47.88 kB / 0.6974 GB, free: 4.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 7.564e-06/0.4486, allocations: 3.984 kB / 0.6974 GB, free: 4.246 MB / 478.1 MB Notification: Performance of matching and sorting (n=130): time 0.02924/0.4779, allocations: 6.591 MB / 0.7038 GB, free: 13.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/0.4779, allocations: 68.72 kB / 0.7039 GB, free: 13.56 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003722/0.4817, allocations: 1.651 MB / 0.7055 GB, free: 11.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004083/0.4821, allocations: 61.7 kB / 0.7056 GB, free: 11.84 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006715/0.4827, allocations: 0.5543 MB / 0.7061 GB, free: 11.27 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007457/0.4835, allocations: 0.5191 MB / 0.7066 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.4845, allocations: 0.5134 MB / 0.7071 GB, free: 10.23 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.4847, allocations: 309.1 kB / 0.7074 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002506/0.4872, allocations: 1.142 MB / 0.7085 GB, free: 8.781 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002703/0.4899, allocations: 1.356 MB / 0.7098 GB, free: 7.398 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.4947, allocations: 2.346 MB / 0.7121 GB, free: 5.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.4947, allocations: 0 / 0.7121 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01031/0.505, allocations: 4.044 MB / 0.7161 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/0.505, allocations: 11.94 kB / 0.7161 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5051, allocations: 0 / 0.7161 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.517, allocations: 2.823 MB / 0.7188 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/0.5196, allocations: 487.3 kB / 0.7193 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006438/0.526, allocations: 2.526 MB / 0.7218 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/0.5289, allocations: 250.5 kB / 0.722 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003584/0.5293, allocations: 87.97 kB / 0.7221 GB, free: 10.73 MB / 0.4981 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 (281): * Single equations (assignments): 280 * 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.0008693/0.5302, allocations: 321.2 kB / 0.7224 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004779/0.5307, allocations: 174.8 kB / 0.7226 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01217/0.5428, allocations: 3.511 MB / 0.726 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.729e-05/0.5428, allocations: 16 kB / 0.726 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5428, allocations: 0 / 0.726 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.5429, allocations: 7.969 kB / 0.726 GB, free: 6.676 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 postOpt removeSimpleEquations (simulation): time 0.01495/0.5578, allocations: 5.591 MB / 0.7315 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/0.5578, allocations: 3.984 kB / 0.7315 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.5589, allocations: 167.8 kB / 0.7317 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005828/0.5647, allocations: 1.488 MB / 0.7331 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.5649, allocations: 31.98 kB / 0.7331 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02056/0.5855, allocations: 7.752 MB / 0.7407 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.5855, allocations: 7.922 kB / 0.7407 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01414/0.5997, allocations: 4.535 MB / 0.7451 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007393/0.6004, allocations: 238.5 kB / 0.7454 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000291/0.6007, allocations: 24 kB / 0.7454 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.6022, allocations: 75.92 kB / 0.7455 GB, free: 2.461 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006368/0.6028, allocations: 209.3 kB / 0.7457 GB, free: 2.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6029, allocations: 32 kB / 0.7457 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001755/0.6047, allocations: 1.094 MB / 0.7468 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6047, allocations: 0 / 0.7468 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001843/0.6065, allocations: 0.5857 MB / 0.7473 GB, free: 0.543 MB / 0.5137 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 (93): * Single equations (assignments): 92 * 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.0003694/0.6069, allocations: 157.4 kB / 0.7475 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008534/0.6154, allocations: 2.749 MB / 0.7502 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.6154, allocations: 0 / 0.7502 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004849/0.6203, allocations: 1.45 MB / 0.7516 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.6215, allocations: 129.6 kB / 0.7517 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006493/0.628, allocations: 3.539 MB / 0.7552 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009178/0.6289, allocations: 1.234 MB / 0.7564 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007699/0.6297, allocations: 167.2 kB / 0.7565 GB, free: 7.051 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.6302, allocations: 107.4 kB / 0.7566 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6302, allocations: 0 / 0.7566 GB, free: 6.949 MB / 0.5294 GB Notification: Performance of Templates: time 0.05769/0.6879, allocations: 32.5 MB / 0.7884 GB, free: 6.434 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.makefile [Timeout 660] (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & ./OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.007582485675812] Failed to read output from testmodel.py, exit status != 0: 0.697194579988718 0.712761398 0.309325499 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe2b69397b0>