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.00151/0.001517, allocations: 108 kB / 15.61 MB, free: 152 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.469/1.469, 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.001621/0.001621, allocations: 192.5 kB / 289.6 MB, free: 2.328 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5148/0.5148, allocations: 78.53 MB / 418.2 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 87.86 kB / 497.6 MB, free: 6.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1586/0.1605, allocations: 68.16 MB / 0.5525 GB, free: 2.137 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.3259/0.4864, allocations: 6.947 MB / 0.5593 GB, free: 35.69 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005903/0.4924, allocations: 2.282 MB / 0.5615 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001458/0.4939, allocations: 10 kB / 0.5615 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009243/0.4949, allocations: 265.8 kB / 0.5617 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003988/0.4989, allocations: 1.235 MB / 0.563 GB, free: 34.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001377/0.5003, allocations: 0.4955 MB / 0.5634 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003148/0.5034, allocations: 2.008 MB / 0.5654 GB, free: 34.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005759/0.504, allocations: 261.3 kB / 0.5656 GB, free: 34.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.5056, allocations: 0.7678 MB / 0.5664 GB, free: 34.23 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001423/0.507, allocations: 1.037 MB / 0.5674 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003308/0.5074, allocations: 156.3 kB / 0.5676 GB, free: 33.99 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009919/0.5084, allocations: 328.8 kB / 0.5679 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003831/0.5088, allocations: 411.3 kB / 0.5683 GB, free: 33.89 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.5096, allocations: 0.7748 MB / 0.569 GB, free: 33.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002472/0.5121, allocations: 1.875 MB / 0.5709 GB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.5121, allocations: 1.219 kB / 0.5709 GB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5121, allocations: 0 / 0.5709 GB, free: 33.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.956e-05/0.5122, allocations: 3.062 kB / 0.5709 GB, free: 33.21 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.01662/0.5288, allocations: 3.897 MB / 0.5747 GB, free: 32.22 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.5289, allocations: 8.094 kB / 0.5747 GB, free: 32.22 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002011/0.5291, allocations: 117.7 kB / 0.5748 GB, free: 32.18 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003327/0.5325, allocations: 0.5218 MB / 0.5753 GB, free: 32.08 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001724/0.5342, allocations: 0.9716 MB / 0.5762 GB, free: 31.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003138/0.5345, allocations: 233.8 kB / 0.5765 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000192/0.5347, allocations: 95.86 kB / 0.5766 GB, free: 31.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002196/0.5369, allocations: 0.9735 MB / 0.5775 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/0.537, allocations: 0.5625 kB / 0.5775 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.5371, allocations: 30.72 kB / 0.5775 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/0.5371, allocations: 14.84 kB / 0.5775 GB, free: 31.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.5395, allocations: 1.094 MB / 0.5786 GB, free: 31.41 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.006951/0.5465, allocations: 3.756 MB / 0.5823 GB, free: 29.31 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/0.55, allocations: 1.672 MB / 0.5839 GB, free: 28.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.5517, allocations: 0.7136 MB / 0.5846 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/0.5518, allocations: 22.55 kB / 0.5846 GB, free: 28.04 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.5519, allocations: 44.06 kB / 0.5847 GB, free: 27.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 4.769e-06/0.5519, allocations: 0 / 0.5847 GB, free: 27.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02341/0.5753, allocations: 5.59 MB / 0.5901 GB, free: 26.8 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.931e-05/0.5754, allocations: 62.09 kB / 0.5902 GB, free: 26.73 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002954/0.5784, allocations: 1.28 MB / 0.5914 GB, free: 26.19 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000433/0.5789, allocations: 47.61 kB / 0.5915 GB, free: 26.14 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.5793, allocations: 479.5 kB / 0.5919 GB, free: 25.77 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005432/0.5799, allocations: 392.5 kB / 0.5923 GB, free: 25.47 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008563/0.5807, allocations: 390.1 kB / 0.5927 GB, free: 25.29 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.329e-05/0.5808, allocations: 305.8 kB / 0.593 GB, free: 24.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/0.5832, allocations: 0.9408 MB / 0.5939 GB, free: 24.63 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.5859, allocations: 1.109 MB / 0.595 GB, free: 24.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004283/0.5902, allocations: 1.928 MB / 0.5969 GB, free: 23.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/0.5902, allocations: 1.562 kB / 0.5969 GB, free: 23.26 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007423/0.5976, allocations: 3.036 MB / 0.5998 GB, free: 22.05 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.184e-05/0.5977, allocations: 6.812 kB / 0.5998 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.5977, allocations: 6.594 kB / 0.5999 GB, free: 22.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009851/0.6076, allocations: 2.289 MB / 0.6021 GB, free: 21.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002256/0.6099, allocations: 357 kB / 0.6024 GB, free: 21.67 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006084/0.616, allocations: 2.266 MB / 0.6046 GB, free: 20.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.619, allocations: 218.6 kB / 0.6048 GB, free: 20.43 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002169/0.6192, allocations: 68.03 kB / 0.6049 GB, free: 20.41 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 (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.0006434/0.6198, allocations: 267.9 kB / 0.6052 GB, free: 20.19 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003876/0.6202, allocations: 132 kB / 0.6053 GB, free: 20.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01178/0.632, allocations: 3.354 MB / 0.6086 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.101e-05/0.6321, allocations: 11.03 kB / 0.6086 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.256e-05/0.6321, allocations: 0 / 0.6086 GB, free: 19.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/0.6322, allocations: 5.938 kB / 0.6086 GB, free: 19.25 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.01311/0.6453, allocations: 5.04 MB / 0.6135 GB, free: 16.33 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.475e-05/0.6453, allocations: 3.938 kB / 0.6135 GB, free: 16.33 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008194/0.6462, allocations: 133.5 kB / 0.6136 GB, free: 16.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004868/0.6511, allocations: 1.439 MB / 0.615 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.6512, allocations: 20.94 kB / 0.6151 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01679/0.668, allocations: 7.843 MB / 0.6227 GB, free: 6.754 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.6681, allocations: 3.938 kB / 0.6227 GB, free: 6.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01182/0.6799, allocations: 4.233 MB / 0.6269 GB, free: 2.496 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007777/0.6807, allocations: 247.1 kB / 0.6271 GB, free: 2.234 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.681, allocations: 27.94 kB / 0.6271 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.6823, allocations: 87.91 kB / 0.6272 GB, free: 2.121 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/0.6829, allocations: 184.7 kB / 0.6274 GB, free: 1.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.32e-05/0.6829, allocations: 28.92 kB / 0.6274 GB, free: 1.914 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.684, allocations: 0.8473 MB / 0.6282 GB, free: 1.062 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.684, allocations: 0 / 0.6282 GB, free: 1.062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001434/0.6855, allocations: 483.6 kB / 0.6287 GB, free: 0.5898 MB / 430.1 MB 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.01248/0.698, allocations: 4.715 MB / 0.6333 GB, free: 11.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007998/0.706, allocations: 2.488 MB / 0.6357 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.7061, allocations: 0 / 0.6357 GB, free: 9.359 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004377/0.7105, allocations: 1.366 MB / 0.6371 GB, free: 7.984 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.7118, allocations: 101.5 kB / 0.6372 GB, free: 7.883 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03286/0.7447, allocations: 15.53 MB / 0.6523 GB, free: 7.938 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008655/0.7456, allocations: 1.109 MB / 0.6534 GB, free: 6.797 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007621/0.7464, allocations: 130.7 kB / 0.6535 GB, free: 6.672 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000978/0.7474, allocations: 499.3 kB / 0.654 GB, free: 6.184 MB / 462.1 MB Notification: Performance of SimCode: time 9.42e-07/0.7474, allocations: 0 / 0.654 GB, free: 6.184 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08241/0.8298, allocations: 35.78 MB / 0.689 GB, free: 2.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.26/14.09, allocations: 10.11 kB / 0.689 GB, free: 2.723 MB / 494.1 MB (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)