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.007105/0.007105, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 222.9 MB / 239.4 MB, free: 4.555 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.002002/0.002002, allocations: 196.5 kB / 289.7 MB, free: 2.258 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5328/0.5328, allocations: 78.54 MB / 418.4 MB, free: 3.137 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002371/0.002371, allocations: 80.16 kB / 0.5531 GB, free: 1.465 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5163, allocations: 68.16 MB / 0.6197 GB, free: 9.52 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.00775/0.5241, allocations: 8.22 MB / 0.6277 GB, free: 2.035 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005603/0.5298, allocations: 2.616 MB / 0.6303 GB, free: 15.41 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.5311, allocations: 12 kB / 0.6303 GB, free: 15.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009551/0.5321, allocations: 305.4 kB / 0.6306 GB, free: 15.1 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004344/0.5365, allocations: 1.501 MB / 0.632 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.538, allocations: 0.5975 MB / 0.6326 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.004509/0.5425, allocations: 2.562 MB / 0.6351 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006628/0.5432, allocations: 320.8 kB / 0.6354 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001823/0.545, allocations: 1.012 MB / 0.6364 GB, free: 9.09 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.5469, allocations: 1.358 MB / 0.6377 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000369/0.5473, allocations: 200 kB / 0.6379 GB, free: 7.527 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009283/0.5483, allocations: 383.8 kB / 0.6383 GB, free: 7.152 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005509/0.5488, allocations: 0.5176 MB / 0.6388 GB, free: 6.633 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.5499, allocations: 0.9947 MB / 0.6398 GB, free: 5.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003586/0.5535, allocations: 2.378 MB / 0.6421 GB, free: 3.254 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.254e-05/0.5536, allocations: 4 kB / 0.6421 GB, free: 3.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.486e-06/0.5536, allocations: 0 / 0.6421 GB, free: 3.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.417e-05/0.5537, allocations: 0 / 0.6421 GB, free: 3.25 MB / 446.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.02204/0.5757, allocations: 5.002 MB / 0.647 GB, free: 14.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.38e-05/0.5758, allocations: 12.03 kB / 0.647 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002111/0.576, allocations: 135.4 kB / 0.6471 GB, free: 14.03 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003657/0.5797, allocations: 0.5847 MB / 0.6477 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002448/0.5821, allocations: 1.221 MB / 0.6489 GB, free: 12.18 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.5825, allocations: 268.8 kB / 0.6492 GB, free: 11.88 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.5828, allocations: 116 kB / 0.6493 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.5852, allocations: 1.093 MB / 0.6503 GB, free: 10.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/0.5852, allocations: 7.938 kB / 0.6503 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.5853, allocations: 32 kB / 0.6504 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.5854, allocations: 27.94 kB / 0.6504 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002675/0.588, allocations: 1.175 MB / 0.6515 GB, free: 9.422 MB / 462.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.009306/0.5974, allocations: 4.615 MB / 0.6561 GB, free: 4.586 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.6012, allocations: 2.147 MB / 0.6581 GB, free: 2.254 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.6029, allocations: 0.7946 MB / 0.6589 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001489/0.6031, allocations: 29.27 kB / 0.659 GB, free: 1.43 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.897e-05/0.6031, allocations: 47.88 kB / 0.659 GB, free: 1.371 MB / 462.1 MB Notification: Performance of pre-optimization done (n=130): time 3.847e-06/0.6031, allocations: 0 / 0.659 GB, free: 1.371 MB / 462.1 MB Notification: Performance of matching and sorting (n=130): time 0.02886/0.632, allocations: 6.692 MB / 0.6655 GB, free: 10.64 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.6322, allocations: 72.7 kB / 0.6656 GB, free: 10.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.6355, allocations: 1.659 MB / 0.6672 GB, free: 8.891 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003892/0.6359, allocations: 57.7 kB / 0.6673 GB, free: 8.828 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006357/0.6366, allocations: 0.5543 MB / 0.6678 GB, free: 8.266 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000908/0.6375, allocations: 0.5114 MB / 0.6683 GB, free: 7.75 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009504/0.6384, allocations: 0.5134 MB / 0.6688 GB, free: 7.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6386, allocations: 305.1 kB / 0.6691 GB, free: 6.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/0.6411, allocations: 1.149 MB / 0.6702 GB, free: 5.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002819/0.6439, allocations: 1.36 MB / 0.6716 GB, free: 4.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004824/0.6488, allocations: 2.346 MB / 0.6739 GB, free: 2.004 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6488, allocations: 0 / 0.6739 GB, free: 2.004 MB / 478.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01038/0.6592, allocations: 4.095 MB / 0.6779 GB, free: 13.87 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.6592, allocations: 7.938 kB / 0.6779 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.6593, allocations: 0 / 0.6779 GB, free: 13.86 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/0.6707, allocations: 2.823 MB / 0.6806 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.6734, allocations: 479.3 kB / 0.6811 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00611/0.6795, allocations: 2.528 MB / 0.6835 GB, free: 8.008 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00313/0.6827, allocations: 250.4 kB / 0.6838 GB, free: 7.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/0.6829, allocations: 91.97 kB / 0.6839 GB, free: 7.672 MB / 494.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.0007652/0.6837, allocations: 309.3 kB / 0.6842 GB, free: 7.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003645/0.6841, allocations: 174.8 kB / 0.6843 GB, free: 7.188 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01152/0.6956, allocations: 3.562 MB / 0.6878 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.6957, allocations: 12 kB / 0.6878 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.6957, allocations: 0 / 0.6878 GB, free: 3.594 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.216e-05/0.6957, allocations: 7.969 kB / 0.6878 GB, free: 3.586 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 postOpt removeSimpleEquations (simulation): time 0.01572/0.7115, allocations: 5.65 MB / 0.6933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.7115, allocations: 0 / 0.6933 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/0.7127, allocations: 163.8 kB / 0.6935 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005967/0.7186, allocations: 1.48 MB / 0.6949 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/0.7189, allocations: 28 kB / 0.695 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02269/0.7416, allocations: 7.864 MB / 0.7027 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.7416, allocations: 3.938 kB / 0.7027 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01557/0.7572, allocations: 4.578 MB / 0.7071 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000981/0.7582, allocations: 311.6 kB / 0.7074 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006307/0.7589, allocations: 28 kB / 0.7075 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001978/0.7609, allocations: 79.92 kB / 0.7075 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.7617, allocations: 185.5 kB / 0.7077 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001605/0.7618, allocations: 39.98 kB / 0.7077 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002453/0.7643, allocations: 1.086 MB / 0.7088 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.42e-07/0.7643, allocations: 0 / 0.7088 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002842/0.7672, allocations: 0.6051 MB / 0.7094 GB, free: 13.14 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.01531/0.7825, allocations: 5.173 MB / 0.7144 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0102/0.7927, allocations: 3.006 MB / 0.7174 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7928, allocations: 3.938 kB / 0.7174 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005419/0.7982, allocations: 1.528 MB / 0.7189 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002758/0.801, allocations: 136.4 kB / 0.719 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04986/0.8509, allocations: 18.93 MB / 0.7375 GB, free: 52 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/0.8526, allocations: 1.242 MB / 0.7387 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001004/0.8536, allocations: 159.2 kB / 0.7389 GB, free: 14.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.8551, allocations: 0.6281 MB / 0.7395 GB, free: 13.99 MB / 0.545 GB Notification: Performance of SimCode: time 1.363e-06/0.8551, allocations: 4 kB / 0.7395 GB, free: 13.99 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5075/1.363, allocations: 45.04 MB / 0.7835 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.11/18.47, allocations: 12.91 kB / 0.7835 GB, free: 136.5 MB / 0.5606 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 & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1)