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.005818/0.005818, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.417/1.417, allocations: 222.9 MB / 239.4 MB, free: 4.547 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.002073/0.002073, allocations: 188.4 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4773/0.4773, allocations: 78.53 MB / 418.4 MB, free: 3.117 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001759/0.001759, allocations: 75.88 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3885/0.3903, allocations: 68.16 MB / 0.6197 GB, free: 9.324 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00603/0.3964, allocations: 6.951 MB / 0.6265 GB, free: 3.191 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004184/0.4006, allocations: 2.297 MB / 0.6287 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.4018, allocations: 8 kB / 0.6287 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006405/0.4024, allocations: 253.8 kB / 0.629 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003352/0.4058, allocations: 1.286 MB / 0.6302 GB, free: 15.35 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.407, allocations: 0.5007 MB / 0.6307 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002836/0.4098, allocations: 2.011 MB / 0.6327 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005028/0.4103, allocations: 264.8 kB / 0.6329 GB, free: 12.57 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001263/0.4116, allocations: 0.7783 MB / 0.6337 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.4129, allocations: 1.031 MB / 0.6347 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002416/0.4131, allocations: 160 kB / 0.6348 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007248/0.4138, allocations: 331.8 kB / 0.6352 GB, free: 10.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003351/0.4142, allocations: 414.4 kB / 0.6356 GB, free: 9.863 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000703/0.4149, allocations: 0.7732 MB / 0.6363 GB, free: 9.086 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00244/0.4173, allocations: 1.907 MB / 0.6382 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/0.4174, allocations: 0 / 0.6382 GB, free: 7.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4174, allocations: 0 / 0.6382 GB, free: 7.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.25e-05/0.4174, allocations: 0 / 0.6382 GB, free: 7.176 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.01643/0.4339, allocations: 3.944 MB / 0.642 GB, free: 3.168 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.219e-05/0.434, allocations: 12.03 kB / 0.642 GB, free: 3.156 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.4342, allocations: 118.7 kB / 0.6422 GB, free: 3.031 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003449/0.4376, allocations: 0.5266 MB / 0.6427 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.4398, allocations: 0.9789 MB / 0.6436 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003381/0.4401, allocations: 238.9 kB / 0.6439 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002216/0.4404, allocations: 87.95 kB / 0.6439 GB, free: 1.121 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002176/0.4426, allocations: 0.9794 MB / 0.6449 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.4426, allocations: 0 / 0.6449 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.644e-05/0.4427, allocations: 28 kB / 0.6449 GB, free: 112 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.016e-05/0.4427, allocations: 20 kB / 0.6449 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002546/0.4453, allocations: 1.085 MB / 0.646 GB, free: 15 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.006738/0.452, allocations: 3.743 MB / 0.6497 GB, free: 11.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0032/0.4552, allocations: 1.671 MB / 0.6513 GB, free: 9.293 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.4568, allocations: 0.7104 MB / 0.652 GB, free: 8.582 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001186/0.4569, allocations: 16.98 kB / 0.652 GB, free: 8.566 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.4569, allocations: 43.56 kB / 0.652 GB, free: 8.516 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.737e-06/0.4569, allocations: 0 / 0.652 GB, free: 8.516 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02174/0.4787, allocations: 5.605 MB / 0.6575 GB, free: 2.871 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4788, allocations: 64.41 kB / 0.6576 GB, free: 2.797 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4807, allocations: 1.283 MB / 0.6588 GB, free: 1.504 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000323/0.481, allocations: 49.7 kB / 0.6589 GB, free: 1.449 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003603/0.4814, allocations: 478.2 kB / 0.6593 GB, free: 0.9766 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004454/0.4818, allocations: 424.5 kB / 0.6597 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006275/0.4825, allocations: 375.5 kB / 0.6601 GB, free: 188 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.4826, allocations: 309.1 kB / 0.6604 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.4846, allocations: 0.9409 MB / 0.6613 GB, free: 14.93 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.4869, allocations: 1.113 MB / 0.6624 GB, free: 13.79 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004117/0.491, allocations: 1.927 MB / 0.6643 GB, free: 11.84 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.233e-06/0.4911, allocations: 0 / 0.6643 GB, free: 11.84 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00706/0.4981, allocations: 3.048 MB / 0.6673 GB, free: 8.781 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.566e-05/0.4982, allocations: 8 kB / 0.6673 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.4982, allocations: 0 / 0.6673 GB, free: 8.773 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009283/0.5075, allocations: 2.288 MB / 0.6695 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001912/0.5095, allocations: 351.5 kB / 0.6698 GB, free: 6.137 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00559/0.5151, allocations: 2.269 MB / 0.672 GB, free: 3.836 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002259/0.5174, allocations: 222.8 kB / 0.6723 GB, free: 3.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.5176, allocations: 71.97 kB / 0.6723 GB, free: 3.547 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.0005385/0.5182, allocations: 273.4 kB / 0.6726 GB, free: 3.27 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002746/0.5184, allocations: 143.1 kB / 0.6727 GB, free: 3.129 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/0.5291, allocations: 3.342 MB / 0.676 GB, free: 15.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.878e-05/0.5292, allocations: 12 kB / 0.676 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.5292, allocations: 0 / 0.676 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/0.5293, allocations: 11.97 kB / 0.676 GB, free: 15.75 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.01403/0.5433, allocations: 5.028 MB / 0.6809 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.961e-05/0.5434, allocations: 0 / 0.6809 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009247/0.5443, allocations: 127.8 kB / 0.681 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005607/0.5499, allocations: 1.442 MB / 0.6824 GB, free: 9.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002465/0.5502, allocations: 20 kB / 0.6825 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02035/0.5706, allocations: 7.851 MB / 0.6901 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5707, allocations: 0 / 0.6901 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/0.5841, allocations: 4.244 MB / 0.6943 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006683/0.5848, allocations: 255.9 kB / 0.6945 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000498/0.5853, allocations: 23.94 kB / 0.6945 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.5869, allocations: 91.89 kB / 0.6946 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006997/0.5877, allocations: 188.5 kB / 0.6948 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.5878, allocations: 32 kB / 0.6948 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00153/0.5894, allocations: 0.8473 MB / 0.6957 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.5894, allocations: 0 / 0.6957 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002096/0.5915, allocations: 483.7 kB / 0.6961 GB, free: 10.82 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.01303/0.6045, allocations: 4.717 MB / 0.7007 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007962/0.6125, allocations: 2.472 MB / 0.7032 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.6126, allocations: 0 / 0.7032 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004596/0.6172, allocations: 1.341 MB / 0.7045 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/0.6189, allocations: 116.7 kB / 0.7046 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/0.652, allocations: 14.71 MB / 0.7189 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008607/0.6529, allocations: 1.112 MB / 0.72 GB, free: 2.074 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0006857/0.6536, allocations: 116.7 kB / 0.7201 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009132/0.6546, allocations: 0.4915 MB / 0.7206 GB, free: 1.465 MB / 0.5137 GB Notification: Performance of SimCode: time 1.814e-06/0.6546, allocations: 4 kB / 0.7206 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.7312, allocations: 36.18 MB / 0.7559 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.76, allocations: 11.7 kB / 0.756 GB, free: 13.43 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)