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.001112/0.001112, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 239.2 MB, free: 4.625 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.001407/0.001406, allocations: 183.8 kB / 289.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4559/0.4559, allocations: 78.52 MB / 418.2 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001705, allocations: 75.88 kB / 497.6 MB, free: 6.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1309, allocations: 68.18 MB / 0.5525 GB, free: 2.113 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Line_Aggregation.Reference_system): time 0.2323/0.3632, allocations: 6.942 MB / 0.5593 GB, free: 35.68 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00401/0.3672, allocations: 2.289 MB / 0.5615 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007428/0.368, allocations: 8.906 kB / 0.5615 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005694/0.3686, allocations: 262.7 kB / 0.5617 GB, free: 35.05 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.3714, allocations: 1.234 MB / 0.563 GB, free: 34.81 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009949/0.3724, allocations: 0.501 MB / 0.5634 GB, free: 34.78 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001776/0.3742, allocations: 2.004 MB / 0.5654 GB, free: 34.44 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003456/0.3746, allocations: 261.4 kB / 0.5656 GB, free: 34.39 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007002/0.3753, allocations: 0.7682 MB / 0.5664 GB, free: 34.21 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008785/0.3762, allocations: 1.038 MB / 0.5674 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3764, allocations: 155.3 kB / 0.5676 GB, free: 33.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005863/0.377, allocations: 331.7 kB / 0.5679 GB, free: 33.96 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002431/0.3772, allocations: 412.8 kB / 0.5683 GB, free: 33.87 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004754/0.3777, allocations: 0.7768 MB / 0.569 GB, free: 33.61 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0013/0.379, allocations: 1.869 MB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3791, allocations: 0.6875 kB / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.3791, allocations: 0 / 0.5709 GB, free: 33.2 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.3791, allocations: 0.6562 kB / 0.5709 GB, free: 33.2 MB / 430.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.01396/0.3931, allocations: 3.898 MB / 0.5747 GB, free: 32.2 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.159e-05/0.3931, allocations: 10.41 kB / 0.5747 GB, free: 32.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.3933, allocations: 121.4 kB / 0.5748 GB, free: 32.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002991/0.3963, allocations: 0.516 MB / 0.5753 GB, free: 32.07 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.3977, allocations: 0.9799 MB / 0.5763 GB, free: 31.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002339/0.3979, allocations: 230.3 kB / 0.5765 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3981, allocations: 89.12 kB / 0.5766 GB, free: 31.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.3999, allocations: 0.9797 MB / 0.5775 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3999, allocations: 1.828 kB / 0.5775 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.451e-05/0.4, allocations: 29.34 kB / 0.5775 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.4, allocations: 15.91 kB / 0.5776 GB, free: 31.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.4022, allocations: 1.089 MB / 0.5786 GB, free: 31.4 MB / 430.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.005215/0.4074, allocations: 3.755 MB / 0.5823 GB, free: 29.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.4104, allocations: 1.672 MB / 0.5839 GB, free: 28.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4118, allocations: 0.7157 MB / 0.5846 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.933e-05/0.4119, allocations: 19.31 kB / 0.5846 GB, free: 28 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.4119, allocations: 43.03 kB / 0.5847 GB, free: 27.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=103): time 3.206e-06/0.4119, allocations: 1.25 kB / 0.5847 GB, free: 27.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=103): time 0.02158/0.4335, allocations: 5.589 MB / 0.5901 GB, free: 26.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/0.4336, allocations: 63.44 kB / 0.5902 GB, free: 26.7 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002286/0.4359, allocations: 1.281 MB / 0.5914 GB, free: 26.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003827/0.4363, allocations: 50.33 kB / 0.5915 GB, free: 26.1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/0.4367, allocations: 475.4 kB / 0.5919 GB, free: 25.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.4371, allocations: 394.5 kB / 0.5923 GB, free: 25.43 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006934/0.4378, allocations: 382.8 kB / 0.5927 GB, free: 25.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.854e-05/0.4379, allocations: 306.6 kB / 0.593 GB, free: 24.95 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.4399, allocations: 0.9472 MB / 0.5939 GB, free: 24.59 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.4422, allocations: 1.109 MB / 0.595 GB, free: 24.11 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003817/0.446, allocations: 1.926 MB / 0.5969 GB, free: 23.22 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.446, allocations: 5.938 kB / 0.5969 GB, free: 23.21 MB / 430.1 MB Notification: Performance of matching and sorting (n=256) (initialization): time 0.006916/0.4529, allocations: 3.04 MB / 0.5998 GB, free: 22 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.453, allocations: 5.344 kB / 0.5999 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/0.453, allocations: 1.969 kB / 0.5999 GB, free: 22 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008974/0.462, allocations: 2.29 MB / 0.6021 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001831/0.4638, allocations: 357.1 kB / 0.6024 GB, free: 21.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005316/0.4692, allocations: 2.269 MB / 0.6046 GB, free: 20.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002391/0.4716, allocations: 214.4 kB / 0.6048 GB, free: 20.38 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/0.4718, allocations: 71.36 kB / 0.6049 GB, free: 20.36 MB / 430.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.0005079/0.4723, allocations: 263.2 kB / 0.6052 GB, free: 20.14 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002521/0.4725, allocations: 132.5 kB / 0.6053 GB, free: 20.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01119/0.4837, allocations: 3.355 MB / 0.6086 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.4838, allocations: 11.78 kB / 0.6086 GB, free: 19.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/0.4838, allocations: 5.75 kB / 0.6086 GB, free: 19.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-05/0.4839, allocations: 5.016 kB / 0.6086 GB, free: 19.2 MB / 430.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.01311/0.497, allocations: 5.034 MB / 0.6135 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.497, allocations: 0.6562 kB / 0.6135 GB, free: 16.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007998/0.4978, allocations: 137.3 kB / 0.6136 GB, free: 16.17 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004893/0.5027, allocations: 1.439 MB / 0.615 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.5029, allocations: 27.98 kB / 0.6151 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01652/0.5194, allocations: 7.838 MB / 0.6227 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5195, allocations: 0 / 0.6227 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01138/0.5308, allocations: 4.229 MB / 0.6269 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.5314, allocations: 255.1 kB / 0.6271 GB, free: 2.199 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.5316, allocations: 25.12 kB / 0.6271 GB, free: 2.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/0.5329, allocations: 95.89 kB / 0.6272 GB, free: 2.082 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005011/0.5334, allocations: 180.8 kB / 0.6274 GB, free: 1.906 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.539e-05/0.5335, allocations: 27.98 kB / 0.6274 GB, free: 1.879 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009243/0.5344, allocations: 0.8434 MB / 0.6282 GB, free: 1.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5344, allocations: 0 / 0.6282 GB, free: 1.031 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001198/0.5356, allocations: 483.6 kB / 0.6287 GB, free: 0.5586 MB / 430.1 MB 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.01214/0.5478, allocations: 4.714 MB / 0.6333 GB, free: 11.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007683/0.5555, allocations: 2.485 MB / 0.6357 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5555, allocations: 0 / 0.6357 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004228/0.5598, allocations: 1.364 MB / 0.6371 GB, free: 7.957 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.5611, allocations: 111 kB / 0.6372 GB, free: 7.848 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02795/0.589, allocations: 15.52 MB / 0.6523 GB, free: 7.914 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006242/0.5897, allocations: 1.117 MB / 0.6534 GB, free: 6.766 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005837/0.5903, allocations: 117.7 kB / 0.6535 GB, free: 6.648 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006924/0.591, allocations: 0.4915 MB / 0.654 GB, free: 6.156 MB / 462.1 MB Notification: Performance of SimCode: time 8.12e-07/0.591, allocations: 0 / 0.654 GB, free: 6.156 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06583/0.6568, allocations: 35.79 MB / 0.689 GB, free: 2.703 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.47, allocations: 15.77 kB / 0.689 GB, free: 2.688 MB / 494.1 MB (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)