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.006951/0.006951, 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.567/1.567, allocations: 222.9 MB / 239.4 MB, free: 4.535 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.001708/0.001707, allocations: 188.5 kB / 289.7 MB, free: 2.254 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5947/0.5947, allocations: 91.9 MB / 431.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003939/0.00394, allocations: 83.06 kB / 0.5722 GB, free: 33.6 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1749, allocations: 71.27 MB / 0.6418 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.009267/0.1842, allocations: 6.961 MB / 0.6486 GB, free: 13.13 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006086/0.1903, allocations: 2.289 MB / 0.6509 GB, free: 10.84 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.1918, allocations: 8 kB / 0.6509 GB, free: 10.83 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001083/0.193, allocations: 269.8 kB / 0.6511 GB, free: 10.57 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003655/0.1967, allocations: 0.9587 MB / 0.6521 GB, free: 9.605 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001679/0.1984, allocations: 0.5858 MB / 0.6526 GB, free: 9.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003327/0.2017, allocations: 1.847 MB / 0.6544 GB, free: 7.172 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007347/0.2025, allocations: 265 kB / 0.6547 GB, free: 6.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001692/0.2042, allocations: 0.7393 MB / 0.6554 GB, free: 6.16 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001967/0.2062, allocations: 1.004 MB / 0.6564 GB, free: 5.152 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006977/0.2069, allocations: 156 kB / 0.6565 GB, free: 5 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.2082, allocations: 339.8 kB / 0.6569 GB, free: 4.668 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007414/0.209, allocations: 394.5 kB / 0.6572 GB, free: 4.281 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.2105, allocations: 0.7653 MB / 0.658 GB, free: 3.512 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003606/0.2141, allocations: 1.871 MB / 0.6598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2141, allocations: 0 / 0.6598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2141, allocations: 0 / 0.6598 GB, free: 1.633 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.557e-05/0.2142, allocations: 0 / 0.6598 GB, free: 1.633 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.0142/0.2284, allocations: 3.374 MB / 0.6631 GB, free: 14.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.2285, allocations: 8.031 kB / 0.6631 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003664/0.2289, allocations: 126.6 kB / 0.6632 GB, free: 14.06 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003697/0.2326, allocations: 0.5305 MB / 0.6638 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.2351, allocations: 0.975 MB / 0.6647 GB, free: 12.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.2355, allocations: 234.9 kB / 0.6649 GB, free: 12.24 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/0.236, allocations: 95.95 kB / 0.665 GB, free: 12.15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2388, allocations: 0.9755 MB / 0.666 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/0.2389, allocations: 0 / 0.666 GB, free: 11.16 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.239, allocations: 28 kB / 0.666 GB, free: 11.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.239, allocations: 20 kB / 0.666 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002889/0.2419, allocations: 1.097 MB / 0.6671 GB, free: 10.02 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.008287/0.2502, allocations: 3.731 MB / 0.6707 GB, free: 6.117 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003563/0.2538, allocations: 1.675 MB / 0.6724 GB, free: 4.32 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001683/0.2555, allocations: 0.7182 MB / 0.6731 GB, free: 3.598 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001191/0.2557, allocations: 12.98 kB / 0.6731 GB, free: 3.586 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.843e-05/0.2557, allocations: 47.56 kB / 0.6731 GB, free: 3.527 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 3.606e-06/0.2558, allocations: 3.938 kB / 0.6731 GB, free: 3.523 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02345/0.2792, allocations: 5.605 MB / 0.6786 GB, free: 13.89 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/0.2793, allocations: 64.34 kB / 0.6787 GB, free: 13.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/0.2818, allocations: 1.283 MB / 0.6799 GB, free: 12.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003839/0.2823, allocations: 49.7 kB / 0.68 GB, free: 12.46 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005702/0.2828, allocations: 478.2 kB / 0.6804 GB, free: 11.99 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006946/0.2835, allocations: 416.5 kB / 0.6808 GB, free: 11.58 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.2848, allocations: 379.5 kB / 0.6812 GB, free: 11.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.285, allocations: 301.1 kB / 0.6815 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002369/0.2873, allocations: 0.9488 MB / 0.6824 GB, free: 9.953 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002531/0.2899, allocations: 1.105 MB / 0.6835 GB, free: 8.816 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004479/0.2944, allocations: 1.927 MB / 0.6854 GB, free: 6.867 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.547e-05/0.2944, allocations: 8 kB / 0.6854 GB, free: 6.859 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.007921/0.3024, allocations: 3.052 MB / 0.6884 GB, free: 3.793 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.166e-05/0.3024, allocations: 4 kB / 0.6884 GB, free: 3.789 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3025, allocations: 4 kB / 0.6884 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009438/0.3119, allocations: 2.272 MB / 0.6906 GB, free: 1.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001959/0.3139, allocations: 355.5 kB / 0.6909 GB, free: 1.164 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00584/0.3198, allocations: 2.275 MB / 0.6931 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.3224, allocations: 230.6 kB / 0.6934 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003966/0.3229, allocations: 67.97 kB / 0.6934 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.0008997/0.3238, allocations: 265.5 kB / 0.6937 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005531/0.3243, allocations: 135.1 kB / 0.6938 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01153/0.3359, allocations: 3.35 MB / 0.6971 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-05/0.3359, allocations: 12 kB / 0.6971 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.336, allocations: 3.938 kB / 0.6971 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.753e-05/0.336, allocations: 7.969 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.01511/0.3511, allocations: 5.028 MB / 0.702 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/0.3512, allocations: 0 / 0.702 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000983/0.3522, allocations: 131.8 kB / 0.7021 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005716/0.3579, allocations: 1.438 MB / 0.7035 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002853/0.3583, allocations: 31.98 kB / 0.7036 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/0.3792, allocations: 7.84 MB / 0.7112 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.3793, allocations: 0 / 0.7112 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01388/0.3932, allocations: 4.252 MB / 0.7154 GB, free: 7.758 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008023/0.394, allocations: 251.9 kB / 0.7156 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005982/0.3946, allocations: 23.94 kB / 0.7156 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/0.3964, allocations: 95.89 kB / 0.7157 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007629/0.3972, allocations: 184.7 kB / 0.7159 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001613/0.3973, allocations: 20 kB / 0.7159 GB, free: 7.172 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001872/0.3992, allocations: 0.8473 MB / 0.7168 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6.31e-07/0.3992, allocations: 0 / 0.7168 GB, free: 6.32 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002382/0.4016, allocations: 487.7 kB / 0.7172 GB, free: 5.844 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.01369/0.4153, allocations: 4.72 MB / 0.7218 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008378/0.4238, allocations: 2.453 MB / 0.7242 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.4238, allocations: 0 / 0.7242 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004785/0.4286, allocations: 1.352 MB / 0.7255 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001703/0.4303, allocations: 105.9 kB / 0.7256 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03503/0.4654, allocations: 14.73 MB / 0.74 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009565/0.4664, allocations: 1.112 MB / 0.7411 GB, free: 13.08 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0007177/0.4671, allocations: 124.6 kB / 0.7412 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/0.4682, allocations: 0.4942 MB / 0.7417 GB, free: 12.46 MB / 0.545 GB Notification: Performance of SimCode: time 6.11e-07/0.4682, allocations: 0 / 0.7417 GB, free: 12.46 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4571/0.9253, allocations: 36.17 MB / 0.777 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/16.71, allocations: 5.938 kB / 0.777 GB, free: 117.6 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)