Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) 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.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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.278/1.278, allocations: 222.9 MB / 239.3 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 184.5 kB / 289.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4656/0.4656, allocations: 78.53 MB / 418.2 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 79.88 kB / 497.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1297, allocations: 68.17 MB / 0.5525 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.2259/0.3557, allocations: 8.223 MB / 0.5605 GB, free: 35.12 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004392/0.3601, allocations: 2.604 MB / 0.563 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006028/0.3607, allocations: 12.5 kB / 0.5631 GB, free: 34.47 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.3614, allocations: 313.7 kB / 0.5634 GB, free: 34.46 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0028/0.3642, allocations: 1.494 MB / 0.5648 GB, free: 34.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009828/0.3652, allocations: 0.5998 MB / 0.5654 GB, free: 34.05 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.367, allocations: 2.551 MB / 0.5679 GB, free: 33.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003719/0.3674, allocations: 315.4 kB / 0.5682 GB, free: 33.51 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007872/0.3682, allocations: 1.006 MB / 0.5692 GB, free: 33.28 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.3692, allocations: 1.352 MB / 0.5705 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.3695, allocations: 205.1 kB / 0.5707 GB, free: 32.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005735/0.3701, allocations: 389.3 kB / 0.5711 GB, free: 32.97 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002933/0.3704, allocations: 0.5183 MB / 0.5716 GB, free: 32.85 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006204/0.371, allocations: 0.9881 MB / 0.5725 GB, free: 32.51 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001523/0.3726, allocations: 2.345 MB / 0.5748 GB, free: 32 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3726, allocations: 4.109 kB / 0.5748 GB, free: 32 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3726, allocations: 1.125 kB / 0.5748 GB, free: 32 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.678e-05/0.3726, allocations: 0.5625 kB / 0.5748 GB, free: 32 MB / 430.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.01841/0.391, allocations: 4.944 MB / 0.5797 GB, free: 30.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.3911, allocations: 8.625 kB / 0.5797 GB, free: 30.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001534/0.3912, allocations: 135.6 kB / 0.5798 GB, free: 30.58 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/0.3945, allocations: 0.5789 MB / 0.5804 GB, free: 30.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.3963, allocations: 1.218 MB / 0.5815 GB, free: 29.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002372/0.3965, allocations: 267.4 kB / 0.5818 GB, free: 29.42 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/0.3967, allocations: 108.6 kB / 0.5819 GB, free: 29.38 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.3989, allocations: 1.093 MB / 0.583 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3989, allocations: 0 / 0.583 GB, free: 28.98 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.399, allocations: 32.33 kB / 0.583 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.399, allocations: 28.09 kB / 0.583 GB, free: 28.95 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.4013, allocations: 1.18 MB / 0.5842 GB, free: 28.55 MB / 430.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.00656/0.4079, allocations: 4.622 MB / 0.5887 GB, free: 25.88 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002896/0.4108, allocations: 2.139 MB / 0.5908 GB, free: 24.42 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001356/0.4121, allocations: 0.7949 MB / 0.5916 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001124/0.4123, allocations: 25.5 kB / 0.5916 GB, free: 24.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4123, allocations: 45.61 kB / 0.5916 GB, free: 24.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=130): time 3.296e-06/0.4123, allocations: 0 / 0.5916 GB, free: 24.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=130): time 0.02671/0.439, allocations: 6.69 MB / 0.5982 GB, free: 22.61 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.4391, allocations: 65.59 kB / 0.5982 GB, free: 22.55 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002646/0.4418, allocations: 1.656 MB / 0.5998 GB, free: 21.86 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002535/0.442, allocations: 56.73 kB / 0.5999 GB, free: 21.8 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.4424, allocations: 0.5576 MB / 0.6004 GB, free: 21.36 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000452/0.4429, allocations: 0.4934 MB / 0.6009 GB, free: 20.97 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008078/0.4437, allocations: 0.5171 MB / 0.6014 GB, free: 20.74 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.538e-05/0.4437, allocations: 301.7 kB / 0.6017 GB, free: 20.44 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.4459, allocations: 1.142 MB / 0.6028 GB, free: 19.98 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002242/0.4481, allocations: 1.359 MB / 0.6042 GB, free: 19.4 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003999/0.4521, allocations: 2.344 MB / 0.6064 GB, free: 18.24 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.4521, allocations: 1.219 kB / 0.6064 GB, free: 18.24 MB / 430.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.008899/0.461, allocations: 4.085 MB / 0.6104 GB, free: 16.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.4611, allocations: 5.562 kB / 0.6104 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.4611, allocations: 2.438 kB / 0.6104 GB, free: 16.66 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01034/0.4715, allocations: 2.832 MB / 0.6132 GB, free: 15.97 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002472/0.474, allocations: 484 kB / 0.6137 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004783/0.4788, allocations: 2.526 MB / 0.6161 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.4813, allocations: 246.3 kB / 0.6164 GB, free: 13.3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.4815, allocations: 87.97 kB / 0.6165 GB, free: 13.21 MB / 430.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 (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.0005249/0.482, allocations: 317.3 kB / 0.6168 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.4823, allocations: 165.8 kB / 0.6169 GB, free: 12.73 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00944/0.4917, allocations: 3.551 MB / 0.6204 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.4918, allocations: 12.56 kB / 0.6204 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.4918, allocations: 0.5625 kB / 0.6204 GB, free: 9.148 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.4918, allocations: 7.969 kB / 0.6204 GB, free: 9.141 MB / 430.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.01128/0.5031, allocations: 5.666 MB / 0.6259 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/0.5031, allocations: 0.9375 kB / 0.6259 GB, free: 3.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008536/0.504, allocations: 163.8 kB / 0.6261 GB, free: 3.148 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004747/0.5087, allocations: 1.494 MB / 0.6276 GB, free: 1.652 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001055/0.5088, allocations: 29.59 kB / 0.6276 GB, free: 1.625 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01765/0.5265, allocations: 7.852 MB / 0.6353 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5265, allocations: 0 / 0.6353 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.5391, allocations: 4.564 MB / 0.6397 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/0.5398, allocations: 298.8 kB / 0.64 GB, free: 4.723 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002518/0.5401, allocations: 28 kB / 0.64 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.5415, allocations: 80.92 kB / 0.6401 GB, free: 4.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005204/0.5421, allocations: 189.5 kB / 0.6403 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.367e-05/0.5422, allocations: 36 kB / 0.6403 GB, free: 4.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001453/0.5436, allocations: 1.09 MB / 0.6414 GB, free: 3.312 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5436, allocations: 0 / 0.6414 GB, free: 3.312 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001474/0.5451, allocations: 0.5971 MB / 0.642 GB, free: 2.715 MB / 446.1 MB 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.01284/0.5579, allocations: 5.167 MB / 0.647 GB, free: 13.51 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008643/0.5666, allocations: 3.042 MB / 0.65 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.5666, allocations: 0 / 0.65 GB, free: 10.48 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004364/0.571, allocations: 1.534 MB / 0.6515 GB, free: 8.934 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.5723, allocations: 131 kB / 0.6516 GB, free: 8.805 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/0.6086, allocations: 20.32 MB / 0.6714 GB, free: 3.633 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009206/0.6095, allocations: 1.234 MB / 0.6726 GB, free: 2.367 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0007335/0.6103, allocations: 163.2 kB / 0.6728 GB, free: 2.203 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00099/0.6113, allocations: 0.6281 MB / 0.6734 GB, free: 1.578 MB / 478.1 MB Notification: Performance of SimCode: time 8.71e-07/0.6113, allocations: 0 / 0.6734 GB, free: 1.578 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8164/1.428, allocations: 44.58 MB / 0.7169 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/13.66, allocations: 3.938 kB / 0.717 GB, free: 5.344 MB / 0.5137 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)