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.005656/0.005656, allocations: 98.2 kB / 15.73 MB, free: 5.988 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.358/1.358, 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.001238/0.001238, allocations: 191.5 kB / 289.7 MB, free: 2.273 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5082/0.5082, allocations: 91.91 MB / 431.8 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 85.52 kB / 0.5722 GB, free: 34.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1257, allocations: 71.28 MB / 0.6418 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.00776/0.1335, allocations: 6.955 MB / 0.6486 GB, free: 13.25 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00457/0.1381, allocations: 2.289 MB / 0.6509 GB, free: 10.96 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1391, allocations: 12 kB / 0.6509 GB, free: 10.95 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008364/0.14, allocations: 265.8 kB / 0.6511 GB, free: 10.68 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003113/0.1432, allocations: 0.9901 MB / 0.6521 GB, free: 9.691 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001472/0.1446, allocations: 0.5971 MB / 0.6527 GB, free: 9.098 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002802/0.1475, allocations: 1.843 MB / 0.6545 GB, free: 7.25 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006237/0.1481, allocations: 257.1 kB / 0.6547 GB, free: 6.988 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.1495, allocations: 0.7471 MB / 0.6555 GB, free: 6.238 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.1515, allocations: 0.9999 MB / 0.6564 GB, free: 5.234 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009228/0.1524, allocations: 160 kB / 0.6566 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001777/0.1542, allocations: 339.8 kB / 0.6569 GB, free: 4.746 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.1554, allocations: 390.5 kB / 0.6573 GB, free: 4.363 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001757/0.1572, allocations: 0.7653 MB / 0.658 GB, free: 3.594 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.1603, allocations: 1.875 MB / 0.6599 GB, free: 1.711 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1603, allocations: 0 / 0.6599 GB, free: 1.711 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1603, allocations: 0 / 0.6599 GB, free: 1.711 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.361e-05/0.1604, allocations: 3.984 kB / 0.6599 GB, free: 1.707 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.01276/0.1731, allocations: 3.374 MB / 0.6632 GB, free: 14.27 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.1732, allocations: 15.97 kB / 0.6632 GB, free: 14.26 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001511/0.1733, allocations: 118.7 kB / 0.6633 GB, free: 14.13 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003182/0.1765, allocations: 0.5227 MB / 0.6638 GB, free: 13.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/0.1783, allocations: 0.9789 MB / 0.6648 GB, free: 12.58 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002851/0.1786, allocations: 230.9 kB / 0.665 GB, free: 12.32 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/0.1788, allocations: 91.95 kB / 0.6651 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/0.1809, allocations: 0.9833 MB / 0.666 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.181, allocations: 0 / 0.666 GB, free: 11.24 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-05/0.1811, allocations: 28 kB / 0.666 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.1811, allocations: 16 kB / 0.6661 GB, free: 11.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002565/0.1837, allocations: 1.097 MB / 0.6671 GB, free: 10.1 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.006498/0.1902, allocations: 3.731 MB / 0.6708 GB, free: 6.199 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003187/0.1934, allocations: 1.671 MB / 0.6724 GB, free: 4.406 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/0.195, allocations: 0.7143 MB / 0.6731 GB, free: 3.688 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.1951, allocations: 24.97 kB / 0.6731 GB, free: 3.664 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.1952, allocations: 39.56 kB / 0.6732 GB, free: 3.613 MB / 478.1 MB Notification: Performance of pre-optimization done (n=103): time 2.946e-06/0.1952, allocations: 3.938 kB / 0.6732 GB, free: 3.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=103): time 0.02213/0.2173, allocations: 5.609 MB / 0.6786 GB, free: 13.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.141e-05/0.2174, allocations: 64.39 kB / 0.6787 GB, free: 13.89 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.2193, allocations: 1.283 MB / 0.68 GB, free: 12.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/0.2196, allocations: 45.7 kB / 0.68 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.22, allocations: 486.2 kB / 0.6805 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.2205, allocations: 408.5 kB / 0.6809 GB, free: 11.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006655/0.2212, allocations: 387.4 kB / 0.6812 GB, free: 11.28 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.99e-05/0.2213, allocations: 305.1 kB / 0.6815 GB, free: 10.98 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.2234, allocations: 0.941 MB / 0.6824 GB, free: 10.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.2257, allocations: 1.113 MB / 0.6835 GB, free: 8.891 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004138/0.2298, allocations: 1.931 MB / 0.6854 GB, free: 6.938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.2299, allocations: 4 kB / 0.6854 GB, free: 6.934 MB / 494.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.00698/0.2369, allocations: 3.044 MB / 0.6884 GB, free: 3.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.393e-05/0.2369, allocations: 8 kB / 0.6884 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.2369, allocations: 0 / 0.6884 GB, free: 3.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00891/0.2458, allocations: 2.284 MB / 0.6906 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.2477, allocations: 351.5 kB / 0.691 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005266/0.253, allocations: 2.281 MB / 0.6932 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.2552, allocations: 226.7 kB / 0.6934 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002084/0.2554, allocations: 63.98 kB / 0.6935 GB, free: 14.65 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.0005028/0.256, allocations: 265.5 kB / 0.6937 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002691/0.2562, allocations: 139.1 kB / 0.6939 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.2672, allocations: 3.35 MB / 0.6971 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.2673, allocations: 8 kB / 0.6971 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.2673, allocations: 0 / 0.6971 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.2673, allocations: 7.984 kB / 0.6971 GB, free: 10.86 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.0133/0.2806, allocations: 5.028 MB / 0.702 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/0.2807, allocations: 0 / 0.702 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.2816, allocations: 131.8 kB / 0.7022 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/0.2872, allocations: 1.438 MB / 0.7036 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002171/0.2874, allocations: 16 kB / 0.7036 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01996/0.3074, allocations: 7.863 MB / 0.7113 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3074, allocations: 0 / 0.7113 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0139/0.3214, allocations: 4.248 MB / 0.7154 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009511/0.3224, allocations: 255.9 kB / 0.7157 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003408/0.3227, allocations: 23.94 kB / 0.7157 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00139/0.3241, allocations: 87.91 kB / 0.7158 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006599/0.3248, allocations: 180.7 kB / 0.7159 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/0.3249, allocations: 31.98 kB / 0.716 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001372/0.3263, allocations: 0.8473 MB / 0.7168 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3263, allocations: 0 / 0.7168 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001734/0.328, allocations: 483.7 kB / 0.7173 GB, free: 5.918 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.01266/0.3407, allocations: 4.715 MB / 0.7219 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007184/0.3479, allocations: 2.453 MB / 0.7243 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.348, allocations: 0 / 0.7243 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00423/0.3522, allocations: 1.36 MB / 0.7256 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009761/0.3532, allocations: 109.9 kB / 0.7257 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/0.3817, allocations: 14.73 MB / 0.7401 GB, free: 14.29 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007954/0.3826, allocations: 1.109 MB / 0.7412 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00066/0.3832, allocations: 128.6 kB / 0.7413 GB, free: 13.03 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000758/0.384, allocations: 499.3 kB / 0.7418 GB, free: 12.54 MB / 0.545 GB Notification: Performance of SimCode: time 1.212e-06/0.384, allocations: 0 / 0.7418 GB, free: 12.54 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3102/0.6942, allocations: 36.16 MB / 0.7771 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.64, allocations: 5.938 kB / 0.7771 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)