Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_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.007462/0.007462, allocations: 95.02 kB / 15.73 MB, free: 6.484 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.355/1.355, allocations: 222.9 MB / 239.4 MB, free: 4.562 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.001346/0.001346, allocations: 195.8 kB / 289.7 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5064/0.5064, allocations: 91.9 MB / 431.8 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 78.86 kB / 0.5722 GB, free: 33.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1312, allocations: 71.29 MB / 0.6418 GB, free: 4.152 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.007232/0.1385, allocations: 6.959 MB / 0.6486 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1425, allocations: 2.289 MB / 0.6509 GB, free: 10.86 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005124/0.143, allocations: 12 kB / 0.6509 GB, free: 10.85 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005408/0.1436, allocations: 261.8 kB / 0.6511 GB, free: 10.59 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.1459, allocations: 0.9975 MB / 0.6521 GB, free: 9.594 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.1471, allocations: 0.5812 MB / 0.6527 GB, free: 9.016 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002213/0.1493, allocations: 1.851 MB / 0.6545 GB, free: 7.16 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004435/0.1498, allocations: 261 kB / 0.6547 GB, free: 6.895 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1508, allocations: 0.7471 MB / 0.6555 GB, free: 6.145 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001097/0.1519, allocations: 1.004 MB / 0.6564 GB, free: 5.137 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.1522, allocations: 163.9 kB / 0.6566 GB, free: 4.977 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000582/0.1527, allocations: 335.8 kB / 0.6569 GB, free: 4.648 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.1531, allocations: 390.5 kB / 0.6573 GB, free: 4.266 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006114/0.1537, allocations: 0.7614 MB / 0.658 GB, free: 3.5 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002104/0.1558, allocations: 1.875 MB / 0.6599 GB, free: 1.617 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1558, allocations: 4 kB / 0.6599 GB, free: 1.613 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1558, allocations: 0 / 0.6599 GB, free: 1.613 MB / 462.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.1558, allocations: 0 / 0.6599 GB, free: 1.613 MB / 462.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.01246/0.1683, allocations: 3.378 MB / 0.6632 GB, free: 14.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1684, allocations: 8.031 kB / 0.6632 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001454/0.1685, allocations: 114.7 kB / 0.6633 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/0.1718, allocations: 0.5266 MB / 0.6638 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/0.1733, allocations: 0.9867 MB / 0.6648 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002846/0.1736, allocations: 226.9 kB / 0.665 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.1738, allocations: 99.92 kB / 0.6651 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/0.176, allocations: 0.9832 MB / 0.666 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.176, allocations: 0 / 0.666 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.349e-05/0.1761, allocations: 28 kB / 0.6661 GB, free: 11.11 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.1761, allocations: 16 kB / 0.6661 GB, free: 11.1 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002627/0.1787, allocations: 1.093 MB / 0.6671 GB, free: 10 MB / 478.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.006/0.1848, allocations: 3.735 MB / 0.6708 GB, free: 6.098 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003179/0.188, allocations: 1.663 MB / 0.6724 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/0.1895, allocations: 0.7152 MB / 0.6731 GB, free: 3.594 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.1896, allocations: 24.91 kB / 0.6731 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1897, allocations: 43.56 kB / 0.6732 GB, free: 3.516 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.735e-06/0.1897, allocations: 0 / 0.6732 GB, free: 3.516 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02292/0.2126, allocations: 5.605 MB / 0.6786 GB, free: 13.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.2127, allocations: 68.34 kB / 0.6787 GB, free: 13.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001982/0.2147, allocations: 1.276 MB / 0.68 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001658/0.2148, allocations: 53.7 kB / 0.68 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004016/0.2153, allocations: 482.2 kB / 0.6805 GB, free: 11.98 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004149/0.2157, allocations: 416.5 kB / 0.6809 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/0.2164, allocations: 375.5 kB / 0.6812 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.2165, allocations: 301.1 kB / 0.6815 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.2188, allocations: 0.9488 MB / 0.6824 GB, free: 9.945 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.2211, allocations: 1.113 MB / 0.6835 GB, free: 8.801 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004166/0.2252, allocations: 1.931 MB / 0.6854 GB, free: 6.848 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2253, allocations: 0 / 0.6854 GB, free: 6.848 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007166/0.2324, allocations: 3.048 MB / 0.6884 GB, free: 3.785 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.2325, allocations: 7.938 kB / 0.6884 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.2325, allocations: 4 kB / 0.6884 GB, free: 3.773 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009449/0.2419, allocations: 2.28 MB / 0.6906 GB, free: 1.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/0.2437, allocations: 351.5 kB / 0.691 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005533/0.2493, allocations: 2.273 MB / 0.6932 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.2516, allocations: 226.7 kB / 0.6934 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.2519, allocations: 63.98 kB / 0.6935 GB, free: 14.57 MB / 0.4981 GB 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.0006119/0.2525, allocations: 273.5 kB / 0.6937 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.2529, allocations: 135.1 kB / 0.6938 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01162/0.2645, allocations: 3.342 MB / 0.6971 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.2646, allocations: 12 kB / 0.6971 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2646, allocations: 4 kB / 0.6971 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-05/0.2646, allocations: 3.984 kB / 0.6971 GB, free: 10.78 MB / 0.4981 GB 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.01422/0.2788, allocations: 5.032 MB / 0.702 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.2789, allocations: 3.938 kB / 0.702 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008669/0.2798, allocations: 127.9 kB / 0.7022 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005822/0.2856, allocations: 1.442 MB / 0.7036 GB, free: 4.039 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.2858, allocations: 27.98 kB / 0.7036 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0207/0.3065, allocations: 7.843 MB / 0.7113 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.3065, allocations: 0 / 0.7113 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/0.3203, allocations: 4.252 MB / 0.7154 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005543/0.3209, allocations: 255.9 kB / 0.7157 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000382/0.3213, allocations: 19.94 kB / 0.7157 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/0.3229, allocations: 99.89 kB / 0.7158 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005672/0.3234, allocations: 176.8 kB / 0.7159 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3236, allocations: 27.98 kB / 0.716 GB, free: 7.156 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001336/0.3249, allocations: 0.8473 MB / 0.7168 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3249, allocations: 0 / 0.7168 GB, free: 6.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001527/0.3265, allocations: 479.7 kB / 0.7173 GB, free: 5.836 MB / 0.5137 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.01342/0.3399, allocations: 4.715 MB / 0.7219 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007789/0.3477, allocations: 2.457 MB / 0.7243 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/0.3477, allocations: 8 kB / 0.7243 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004555/0.3523, allocations: 1.352 MB / 0.7256 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3536, allocations: 113.7 kB / 0.7257 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03087/0.3845, allocations: 14.72 MB / 0.7401 GB, free: 14.21 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.3852, allocations: 1.109 MB / 0.7412 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0005485/0.3858, allocations: 124.7 kB / 0.7413 GB, free: 12.95 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008342/0.3866, allocations: 0.4915 MB / 0.7417 GB, free: 12.46 MB / 0.545 GB Notification: Performance of SimCode: time 1.112e-06/0.3866, allocations: 0 / 0.7417 GB, free: 12.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3452/0.7319, allocations: 36.18 MB / 0.7771 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/14.72, allocations: 8.859 kB / 0.7771 GB, free: 117.7 MB / 0.5606 GB (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.sim & python3 -m fmpy simulate --output-file OpenIPSL_dev_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_dev_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)