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.005313/0.005313, allocations: 102 kB / 15.73 MB, free: 6.039 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.226/1.226, allocations: 222.9 MB / 239.4 MB, free: 4.539 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.001265/0.001265, allocations: 192.5 kB / 289.7 MB, free: 2.262 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4069/0.4069, allocations: 78.52 MB / 418.4 MB, free: 3.129 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 75.88 kB / 0.5531 GB, free: 1.48 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2614, allocations: 68.17 MB / 0.6197 GB, free: 9.352 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.004863/0.2663, allocations: 6.943 MB / 0.6265 GB, free: 3.172 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003267/0.2696, allocations: 2.293 MB / 0.6287 GB, free: 0.875 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000663/0.2702, allocations: 12 kB / 0.6287 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005045/0.2708, allocations: 253.8 kB / 0.629 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00262/0.2734, allocations: 1.247 MB / 0.6302 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009494/0.2744, allocations: 0.4921 MB / 0.6307 GB, free: 14.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002171/0.2766, allocations: 2.018 MB / 0.6326 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.277, allocations: 264.8 kB / 0.6329 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.2779, allocations: 0.7783 MB / 0.6336 GB, free: 11.8 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.2792, allocations: 1.031 MB / 0.6347 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002428/0.2794, allocations: 159.9 kB / 0.6348 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.28, allocations: 331.8 kB / 0.6351 GB, free: 10.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002953/0.2803, allocations: 406.5 kB / 0.6355 GB, free: 9.891 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006504/0.281, allocations: 0.7771 MB / 0.6363 GB, free: 9.109 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001726/0.2827, allocations: 1.894 MB / 0.6381 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2827, allocations: 0 / 0.6381 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.2827, allocations: 0 / 0.6381 GB, free: 7.207 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.2828, allocations: 0 / 0.6381 GB, free: 7.207 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.01457/0.2973, allocations: 3.896 MB / 0.6419 GB, free: 3.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.2974, allocations: 16.03 kB / 0.6419 GB, free: 3.234 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002239/0.2976, allocations: 118.7 kB / 0.6421 GB, free: 3.109 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003067/0.3007, allocations: 0.5141 MB / 0.6426 GB, free: 2.594 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001659/0.3024, allocations: 0.9817 MB / 0.6435 GB, free: 1.559 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002768/0.3027, allocations: 230.9 kB / 0.6437 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/0.3029, allocations: 91.98 kB / 0.6438 GB, free: 1.211 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.3049, allocations: 0.9794 MB / 0.6448 GB, free: 232 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.3049, allocations: 3.938 kB / 0.6448 GB, free: 228 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.305, allocations: 28 kB / 0.6448 GB, free: 200 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.3051, allocations: 16 kB / 0.6448 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002333/0.3074, allocations: 1.089 MB / 0.6459 GB, free: 15.09 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.006103/0.3135, allocations: 3.735 MB / 0.6495 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002898/0.3164, allocations: 1.675 MB / 0.6512 GB, free: 9.383 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001382/0.3178, allocations: 0.7104 MB / 0.6519 GB, free: 8.672 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.973e-05/0.3179, allocations: 24.97 kB / 0.6519 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.318, allocations: 39.56 kB / 0.6519 GB, free: 8.602 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.876e-06/0.318, allocations: 0 / 0.6519 GB, free: 8.602 MB / 462.1 MB Notification: Performance of matching and sorting (n=103): time 0.02013/0.3381, allocations: 5.6 MB / 0.6574 GB, free: 2.961 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3382, allocations: 60.41 kB / 0.6575 GB, free: 2.891 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001865/0.3401, allocations: 1.279 MB / 0.6587 GB, free: 1.602 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002188/0.3403, allocations: 49.7 kB / 0.6587 GB, free: 1.547 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003906/0.3407, allocations: 481.7 kB / 0.6592 GB, free: 1.07 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004406/0.3412, allocations: 390.5 kB / 0.6596 GB, free: 0.6836 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007295/0.3419, allocations: 387.3 kB / 0.6599 GB, free: 304 kB / 462.1 MB Notification: Performance of setup shared object (initialization): time 8.743e-05/0.342, allocations: 301.1 kB / 0.6602 GB, free: 0 / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.3439, allocations: 0.9449 MB / 0.6612 GB, free: 15.05 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/0.3459, allocations: 1.109 MB / 0.6622 GB, free: 13.91 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003632/0.3495, allocations: 1.927 MB / 0.6641 GB, free: 11.96 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3496, allocations: 0 / 0.6641 GB, free: 11.96 MB / 478.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006297/0.3559, allocations: 3.039 MB / 0.6671 GB, free: 8.906 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3559, allocations: 8 kB / 0.6671 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.3559, allocations: 0 / 0.6671 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008487/0.3644, allocations: 2.284 MB / 0.6693 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.3662, allocations: 351.5 kB / 0.6697 GB, free: 6.266 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0048/0.371, allocations: 2.276 MB / 0.6719 GB, free: 3.957 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002128/0.3731, allocations: 214.3 kB / 0.6721 GB, free: 3.746 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002426/0.3734, allocations: 63.98 kB / 0.6722 GB, free: 3.684 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.0005663/0.374, allocations: 273.5 kB / 0.6724 GB, free: 3.406 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003241/0.3743, allocations: 134.3 kB / 0.6725 GB, free: 3.273 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/0.3843, allocations: 3.349 MB / 0.6758 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.3844, allocations: 8 kB / 0.6758 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3844, allocations: 0 / 0.6758 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.3844, allocations: 11.81 kB / 0.6758 GB, free: 15.89 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.01244/0.3969, allocations: 5.031 MB / 0.6807 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/0.3969, allocations: 0 / 0.6807 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007974/0.3977, allocations: 131.8 kB / 0.6809 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005013/0.4028, allocations: 1.438 MB / 0.6823 GB, free: 9.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001403/0.4029, allocations: 23.92 kB / 0.6823 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01797/0.4209, allocations: 7.838 MB / 0.69 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4209, allocations: 0 / 0.69 GB, free: 1.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/0.433, allocations: 4.24 MB / 0.6941 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004838/0.4335, allocations: 251 kB / 0.6943 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003185/0.4339, allocations: 27.94 kB / 0.6944 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001323/0.4352, allocations: 91.89 kB / 0.6944 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005295/0.4357, allocations: 184.5 kB / 0.6946 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.392e-05/0.4358, allocations: 27.98 kB / 0.6946 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00117/0.437, allocations: 0.8473 MB / 0.6955 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.437, allocations: 0 / 0.6955 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001343/0.4384, allocations: 475.7 kB / 0.6959 GB, free: 10.99 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.01176/0.4501, allocations: 4.714 MB / 0.7005 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006876/0.4571, allocations: 2.465 MB / 0.7029 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4571, allocations: 0 / 0.7029 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.4611, allocations: 1.348 MB / 0.7043 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.4622, allocations: 108.7 kB / 0.7044 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/0.4889, allocations: 14.66 MB / 0.7187 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000685/0.4896, allocations: 1.112 MB / 0.7198 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005126/0.4901, allocations: 120.7 kB / 0.7199 GB, free: 2.191 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007318/0.4909, allocations: 0.4954 MB / 0.7204 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of SimCode: time 7.31e-07/0.4909, allocations: 0 / 0.7204 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06754/0.5584, allocations: 37.73 MB / 0.7572 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.12, allocations: 18.66 kB / 0.7572 GB, free: 12.11 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Line_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system.pipe 2>&1)