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.008091/0.008091, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.612/1.612, 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.002068/0.002068, allocations: 188.5 kB / 289.7 MB, free: 2.27 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5651/0.5651, allocations: 78.53 MB / 418.4 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002269, allocations: 83.88 kB / 0.5531 GB, free: 1.512 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4681/0.4704, allocations: 68.17 MB / 0.6197 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.008236/0.4787, allocations: 6.941 MB / 0.6265 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005193/0.484, allocations: 2.293 MB / 0.6287 GB, free: 1.035 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.4852, allocations: 8 kB / 0.6287 GB, free: 1.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007583/0.486, allocations: 261.8 kB / 0.629 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003662/0.4897, allocations: 1.24 MB / 0.6302 GB, free: 15.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00128/0.491, allocations: 0.4966 MB / 0.6307 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003046/0.494, allocations: 2.019 MB / 0.6326 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005278/0.4946, allocations: 264.8 kB / 0.6329 GB, free: 12.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001197/0.4958, allocations: 0.7744 MB / 0.6336 GB, free: 11.97 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001443/0.4972, allocations: 1.039 MB / 0.6347 GB, free: 10.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002786/0.4975, allocations: 160 kB / 0.6348 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007868/0.4983, allocations: 331.8 kB / 0.6351 GB, free: 10.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004276/0.4988, allocations: 414.4 kB / 0.6355 GB, free: 10.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008596/0.4996, allocations: 0.7693 MB / 0.6363 GB, free: 9.266 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00268/0.5023, allocations: 1.899 MB / 0.6381 GB, free: 7.363 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5024, allocations: 0 / 0.6381 GB, free: 7.363 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5024, allocations: 0 / 0.6381 GB, free: 7.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.109e-05/0.5024, allocations: 0 / 0.6381 GB, free: 7.363 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.0165/0.5189, allocations: 3.948 MB / 0.642 GB, free: 3.352 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.958e-05/0.519, allocations: 12.03 kB / 0.642 GB, free: 3.34 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/0.5192, allocations: 118.7 kB / 0.6421 GB, free: 3.215 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.5225, allocations: 0.5266 MB / 0.6426 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.5243, allocations: 0.9828 MB / 0.6436 GB, free: 1.652 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003635/0.5247, allocations: 234.9 kB / 0.6438 GB, free: 1.391 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002003/0.5249, allocations: 95.95 kB / 0.6439 GB, free: 1.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002312/0.5272, allocations: 0.9755 MB / 0.6449 GB, free: 324 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/0.5273, allocations: 3.984 kB / 0.6449 GB, free: 320 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.5274, allocations: 28 kB / 0.6449 GB, free: 292 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.23e-05/0.5274, allocations: 16 kB / 0.6449 GB, free: 276 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00281/0.5302, allocations: 1.089 MB / 0.646 GB, free: 15.18 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.006922/0.5371, allocations: 3.739 MB / 0.6496 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/0.5407, allocations: 1.671 MB / 0.6512 GB, free: 9.473 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00166/0.5424, allocations: 0.7144 MB / 0.6519 GB, free: 8.758 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/0.5425, allocations: 16.98 kB / 0.652 GB, free: 8.742 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.5425, allocations: 39.56 kB / 0.652 GB, free: 8.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 3.566e-06/0.5426, allocations: 0 / 0.652 GB, free: 8.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02463/0.5672, allocations: 5.612 MB / 0.6575 GB, free: 3.043 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.5674, allocations: 60.41 kB / 0.6575 GB, free: 2.973 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002742/0.5701, allocations: 1.283 MB / 0.6588 GB, free: 1.68 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004066/0.5705, allocations: 53.64 kB / 0.6588 GB, free: 1.621 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/0.571, allocations: 482.2 kB / 0.6593 GB, free: 1.145 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006152/0.5717, allocations: 412.5 kB / 0.6597 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007709/0.5724, allocations: 383.5 kB / 0.6601 GB, free: 364 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5726, allocations: 305.1 kB / 0.6604 GB, free: 56 kB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/0.5749, allocations: 0.9411 MB / 0.6613 GB, free: 15.11 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.5774, allocations: 1.109 MB / 0.6624 GB, free: 13.96 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004234/0.5817, allocations: 1.923 MB / 0.6642 GB, free: 12.02 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.098e-05/0.5817, allocations: 4 kB / 0.6642 GB, free: 12.02 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00784/0.5895, allocations: 3.052 MB / 0.6672 GB, free: 8.953 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5896, allocations: 4 kB / 0.6672 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.5896, allocations: 0 / 0.6672 GB, free: 8.949 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009794/0.5994, allocations: 2.28 MB / 0.6694 GB, free: 6.668 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002138/0.6016, allocations: 351.5 kB / 0.6698 GB, free: 6.324 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006215/0.6078, allocations: 2.281 MB / 0.672 GB, free: 4.012 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002642/0.6105, allocations: 218.8 kB / 0.6722 GB, free: 3.797 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.6107, allocations: 67.97 kB / 0.6723 GB, free: 3.73 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.0006133/0.6113, allocations: 269.4 kB / 0.6725 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.6117, allocations: 139.1 kB / 0.6727 GB, free: 3.32 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01212/0.6238, allocations: 3.35 MB / 0.6759 GB, free: 15.95 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/0.6239, allocations: 12 kB / 0.676 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.6239, allocations: 0 / 0.676 GB, free: 15.94 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/0.624, allocations: 11.97 kB / 0.676 GB, free: 15.93 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.01517/0.6391, allocations: 5.028 MB / 0.6809 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6392, allocations: 0 / 0.6809 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008635/0.6401, allocations: 127.8 kB / 0.681 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005969/0.646, allocations: 1.445 MB / 0.6824 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/0.6462, allocations: 23.94 kB / 0.6824 GB, free: 9.176 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0217/0.6679, allocations: 7.847 MB / 0.6901 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.668, allocations: 0 / 0.6901 GB, free: 1.188 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01417/0.6821, allocations: 4.244 MB / 0.6942 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009066/0.6831, allocations: 251.9 kB / 0.6945 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.6833, allocations: 23.94 kB / 0.6945 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/0.6847, allocations: 91.89 kB / 0.6946 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007034/0.6855, allocations: 184.5 kB / 0.6948 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.522e-05/0.6856, allocations: 28 kB / 0.6948 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001414/0.687, allocations: 0.8473 MB / 0.6956 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.687, allocations: 0 / 0.6956 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001599/0.6886, allocations: 483.7 kB / 0.6961 GB, free: 11.01 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.01395/0.7026, allocations: 4.729 MB / 0.7007 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008248/0.7108, allocations: 2.465 MB / 0.7031 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7109, allocations: 0 / 0.7031 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004854/0.7157, allocations: 1.348 MB / 0.7044 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.717, allocations: 108.7 kB / 0.7045 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03159/0.7487, allocations: 14.72 MB / 0.7189 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00091/0.7496, allocations: 1.112 MB / 0.72 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005955/0.7502, allocations: 124.7 kB / 0.7201 GB, free: 2.129 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008762/0.7511, allocations: 0.4915 MB / 0.7206 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of SimCode: time 1.382e-06/0.7511, allocations: 0 / 0.7206 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08818/0.8393, allocations: 36.17 MB / 0.7559 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/16.74, allocations: 15.58 kB / 0.7559 GB, free: 13.62 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)