Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_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.005927/0.005927, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.349/1.349, allocations: 222.9 MB / 239.4 MB, free: 4.516 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.00137/0.00137, allocations: 192.5 kB / 289.7 MB, free: 2.238 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4377/0.4377, allocations: 78.54 MB / 418.4 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001669/0.001669, allocations: 79.88 kB / 0.5531 GB, free: 1.426 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3519, allocations: 68.16 MB / 0.6197 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00538/0.3573, allocations: 6.947 MB / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003738/0.3611, allocations: 2.301 MB / 0.6287 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005084/0.3616, allocations: 8 kB / 0.6287 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000474/0.3621, allocations: 253.8 kB / 0.629 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.3647, allocations: 1.277 MB / 0.6302 GB, free: 15.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009708/0.3657, allocations: 0.5051 MB / 0.6307 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.3679, allocations: 2.013 MB / 0.6327 GB, free: 12.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003989/0.3683, allocations: 276.7 kB / 0.6329 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009989/0.3693, allocations: 0.7667 MB / 0.6337 GB, free: 11.77 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.3706, allocations: 1.039 MB / 0.6347 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002425/0.3708, allocations: 156 kB / 0.6349 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006304/0.3715, allocations: 331.9 kB / 0.6352 GB, free: 10.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003849/0.3719, allocations: 418.4 kB / 0.6356 GB, free: 9.836 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007017/0.3726, allocations: 0.7693 MB / 0.6363 GB, free: 9.062 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002064/0.3746, allocations: 1.899 MB / 0.6382 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3747, allocations: 0 / 0.6382 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3747, allocations: 0 / 0.6382 GB, free: 7.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.713e-05/0.3747, allocations: 4 kB / 0.6382 GB, free: 7.156 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01525/0.39, allocations: 3.949 MB / 0.642 GB, free: 3.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.567e-05/0.39, allocations: 12.02 kB / 0.642 GB, free: 3.133 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.3902, allocations: 122.7 kB / 0.6422 GB, free: 3.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003099/0.3933, allocations: 0.5188 MB / 0.6427 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.3948, allocations: 0.9789 MB / 0.6436 GB, free: 1.453 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002802/0.3951, allocations: 234.9 kB / 0.6438 GB, free: 1.191 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3953, allocations: 95.95 kB / 0.6439 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002089/0.3974, allocations: 0.9832 MB / 0.6449 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.3974, allocations: 0 / 0.6449 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.11e-05/0.3975, allocations: 28 kB / 0.6449 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.3976, allocations: 16 kB / 0.6449 GB, free: 68 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00255/0.4001, allocations: 1.093 MB / 0.646 GB, free: 14.97 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.0061/0.4062, allocations: 3.731 MB / 0.6497 GB, free: 11.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003081/0.4093, allocations: 1.669 MB / 0.6513 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.4108, allocations: 0.7144 MB / 0.652 GB, free: 8.562 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.591e-05/0.4109, allocations: 20.97 kB / 0.652 GB, free: 8.543 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.411, allocations: 47.5 kB / 0.652 GB, free: 8.488 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.417e-06/0.411, allocations: 0 / 0.652 GB, free: 8.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02188/0.4329, allocations: 5.601 MB / 0.6575 GB, free: 2.848 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.4329, allocations: 68.33 kB / 0.6576 GB, free: 2.77 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.4347, allocations: 1.279 MB / 0.6588 GB, free: 1.48 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002221/0.435, allocations: 45.7 kB / 0.6589 GB, free: 1.43 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.4354, allocations: 482.2 kB / 0.6593 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004384/0.4358, allocations: 416.5 kB / 0.6597 GB, free: 0.543 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006234/0.4364, allocations: 387.4 kB / 0.6601 GB, free: 160 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.4366, allocations: 301.1 kB / 0.6604 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002062/0.4386, allocations: 0.941 MB / 0.6613 GB, free: 14.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002086/0.4407, allocations: 1.113 MB / 0.6624 GB, free: 13.77 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003772/0.4445, allocations: 1.931 MB / 0.6643 GB, free: 11.82 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/0.4445, allocations: 4 kB / 0.6643 GB, free: 11.81 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00677/0.4513, allocations: 3.048 MB / 0.6673 GB, free: 8.754 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.4513, allocations: 4 kB / 0.6673 GB, free: 8.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.4514, allocations: 4 kB / 0.6673 GB, free: 8.746 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008809/0.4602, allocations: 2.276 MB / 0.6695 GB, free: 6.465 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.4618, allocations: 355.5 kB / 0.6698 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005068/0.4669, allocations: 2.273 MB / 0.6721 GB, free: 3.812 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00205/0.469, allocations: 222.8 kB / 0.6723 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4691, allocations: 63.98 kB / 0.6723 GB, free: 3.531 MB / 478.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 (204): * Single equations (assignments): 203 * 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 {(24,29)} Notification: Performance of prepare postOptimizeDAE: time 0.0004764/0.4696, allocations: 277.4 kB / 0.6726 GB, free: 3.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/0.4699, allocations: 135.1 kB / 0.6727 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/0.4807, allocations: 3.35 MB / 0.676 GB, free: 15.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.4807, allocations: 12 kB / 0.676 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4808, allocations: 0 / 0.676 GB, free: 15.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.881e-05/0.4808, allocations: 11.97 kB / 0.676 GB, free: 15.73 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.01291/0.4937, allocations: 5.028 MB / 0.6809 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.4937, allocations: 0 / 0.6809 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.4946, allocations: 135.7 kB / 0.6811 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005406/0.5, allocations: 1.434 MB / 0.6825 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001244/0.5001, allocations: 20 kB / 0.6825 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01912/0.5193, allocations: 7.851 MB / 0.6901 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.5193, allocations: 0 / 0.6901 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01286/0.5322, allocations: 4.24 MB / 0.6943 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000554/0.5328, allocations: 259.9 kB / 0.6945 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002243/0.533, allocations: 23.94 kB / 0.6945 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.5343, allocations: 95.84 kB / 0.6946 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005451/0.5349, allocations: 188.5 kB / 0.6948 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.535, allocations: 23.98 kB / 0.6948 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001173/0.5361, allocations: 0.8473 MB / 0.6957 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5361, allocations: 0 / 0.6957 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001267/0.5374, allocations: 479.7 kB / 0.6961 GB, free: 10.81 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.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 (71): * Single equations (assignments): 70 * 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 {(14,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0124/0.5498, allocations: 4.723 MB / 0.7007 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007116/0.557, allocations: 2.469 MB / 0.7032 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.557, allocations: 0 / 0.7032 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004182/0.5612, allocations: 1.356 MB / 0.7045 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009919/0.5622, allocations: 104.7 kB / 0.7046 GB, free: 2.109 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02684/0.589, allocations: 14.72 MB / 0.7189 GB, free: 3.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006168/0.5897, allocations: 1.112 MB / 0.72 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004916/0.5902, allocations: 116.7 kB / 0.7201 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006831/0.5909, allocations: 499.3 kB / 0.7206 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of SimCode: time 8.11e-07/0.5909, allocations: 4 kB / 0.7206 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06906/0.66, allocations: 36.17 MB / 0.7559 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.18, allocations: 18.84 kB / 0.756 GB, free: 13.41 MB / 0.5606 GB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_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_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)