Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_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.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_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.001386/0.001386, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.308/1.308, allocations: 222.9 MB / 239 MB, free: 4.723 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.00138/0.00138, allocations: 188.5 kB / 289.2 MB, free: 2.473 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.464/0.464, allocations: 78.52 MB / 417.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 75.89 kB / 497 MB, free: 6.617 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1509, allocations: 68.16 MB / 0.552 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system): time 0.2617/0.4127, allocations: 6.334 MB / 0.5581 GB, free: 36.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004053/0.4168, allocations: 2.137 MB / 0.5602 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008334/0.4177, allocations: 9.469 kB / 0.5602 GB, free: 35.44 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005988/0.4183, allocations: 185.9 kB / 0.5604 GB, free: 35.43 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.4209, allocations: 1.057 MB / 0.5614 GB, free: 35.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009584/0.4218, allocations: 439.2 kB / 0.5619 GB, free: 35.17 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002016/0.4239, allocations: 1.835 MB / 0.5637 GB, free: 35.07 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000359/0.4242, allocations: 210.4 kB / 0.5639 GB, free: 35.03 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.4253, allocations: 0.7085 MB / 0.5646 GB, free: 34.89 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009049/0.4262, allocations: 0.951 MB / 0.5655 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002117/0.4264, allocations: 145.4 kB / 0.5656 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005933/0.427, allocations: 317.6 kB / 0.5659 GB, free: 34.7 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.4273, allocations: 379.7 kB / 0.5663 GB, free: 34.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004823/0.4278, allocations: 0.6928 MB / 0.567 GB, free: 34.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.4292, allocations: 1.705 MB / 0.5686 GB, free: 34.06 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4292, allocations: 0 / 0.5686 GB, free: 34.06 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.4292, allocations: 2.594 kB / 0.5686 GB, free: 34.06 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.4292, allocations: 0 / 0.5686 GB, free: 34.06 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.014/0.4432, allocations: 3.712 MB / 0.5723 GB, free: 33.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4433, allocations: 12.91 kB / 0.5723 GB, free: 33.16 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.4434, allocations: 106.8 kB / 0.5724 GB, free: 33.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.4463, allocations: 497.3 kB / 0.5728 GB, free: 33.04 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001338/0.4476, allocations: 0.901 MB / 0.5737 GB, free: 32.65 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002396/0.4479, allocations: 231.4 kB / 0.5739 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.448, allocations: 79.5 kB / 0.574 GB, free: 32.49 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.4498, allocations: 0.8947 MB / 0.5749 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.789e-05/0.4498, allocations: 0 / 0.5749 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.4499, allocations: 24.66 kB / 0.5749 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.4499, allocations: 14.84 kB / 0.5749 GB, free: 32.43 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/0.4519, allocations: 0.9814 MB / 0.5759 GB, free: 32.42 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.004464/0.4564, allocations: 2.947 MB / 0.5788 GB, free: 31.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.4589, allocations: 1.092 MB / 0.5798 GB, free: 30.88 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001311/0.4602, allocations: 0.6631 MB / 0.5805 GB, free: 30.62 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001142/0.4603, allocations: 26.12 kB / 0.5805 GB, free: 30.61 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.4604, allocations: 40.5 kB / 0.5805 GB, free: 30.56 MB / 430.1 MB Notification: Performance of pre-optimization done (n=94): time 2.775e-06/0.4604, allocations: 0 / 0.5805 GB, free: 30.56 MB / 430.1 MB Notification: Performance of matching and sorting (n=94): time 0.02622/0.4866, allocations: 6.485 MB / 0.5869 GB, free: 29.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4867, allocations: 66.59 kB / 0.5869 GB, free: 29.27 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.4887, allocations: 1.139 MB / 0.5881 GB, free: 28.77 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000358/0.4891, allocations: 49.86 kB / 0.5881 GB, free: 28.72 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002796/0.4893, allocations: 394.7 kB / 0.5885 GB, free: 28.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.4898, allocations: 355.1 kB / 0.5888 GB, free: 28.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006921/0.4905, allocations: 365.8 kB / 0.5892 GB, free: 27.97 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.4905, allocations: 309.1 kB / 0.5895 GB, free: 27.67 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00193/0.4925, allocations: 0.9043 MB / 0.5903 GB, free: 27.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001918/0.4944, allocations: 0.9355 MB / 0.5913 GB, free: 26.96 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003543/0.4979, allocations: 1.808 MB / 0.593 GB, free: 26.16 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.498, allocations: 1.281 kB / 0.593 GB, free: 26.16 MB / 430.1 MB Notification: Performance of matching and sorting (n=241) (initialization): time 0.007015/0.505, allocations: 3.049 MB / 0.596 GB, free: 24.99 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.505, allocations: 6.125 kB / 0.596 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/0.5051, allocations: 0 / 0.596 GB, free: 24.99 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009325/0.5144, allocations: 2.283 MB / 0.5982 GB, free: 24.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.5163, allocations: 320.5 kB / 0.5985 GB, free: 24.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.5216, allocations: 2.262 MB / 0.6007 GB, free: 23.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.5241, allocations: 202.2 kB / 0.6009 GB, free: 23.39 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.5243, allocations: 62.83 kB / 0.601 GB, free: 23.37 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (189): * Single equations (assignments): 188 * 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.0005185/0.5248, allocations: 249.3 kB / 0.6012 GB, free: 23.16 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002769/0.5251, allocations: 119.2 kB / 0.6014 GB, free: 23.09 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01122/0.5363, allocations: 3.296 MB / 0.6046 GB, free: 22.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.626e-05/0.5364, allocations: 14.66 kB / 0.6046 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.5364, allocations: 0 / 0.6046 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/0.5365, allocations: 7.391 kB / 0.6046 GB, free: 22.24 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00213/0.5386, allocations: 1.208 MB / 0.6058 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.5386, allocations: 4 kB / 0.6058 GB, free: 21.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007204/0.5394, allocations: 112.8 kB / 0.6059 GB, free: 21.65 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005289/0.5447, allocations: 1.446 MB / 0.6073 GB, free: 21.28 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001623/0.5448, allocations: 20.72 kB / 0.6073 GB, free: 21.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01719/0.562, allocations: 7.835 MB / 0.615 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5621, allocations: 0.75 kB / 0.615 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01118/0.5733, allocations: 4.127 MB / 0.619 GB, free: 10.58 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000566/0.5739, allocations: 240.2 kB / 0.6192 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.5743, allocations: 16 kB / 0.6192 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/0.5758, allocations: 79.91 kB / 0.6193 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005715/0.5763, allocations: 180.8 kB / 0.6195 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.857e-05/0.5764, allocations: 24 kB / 0.6195 GB, free: 10.03 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0009367/0.5774, allocations: 0.7641 MB / 0.6203 GB, free: 9.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5774, allocations: 1.125 kB / 0.6203 GB, free: 9.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001316/0.5787, allocations: 439.8 kB / 0.6207 GB, free: 8.828 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 (62): * Single equations (assignments): 61 * 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.01079/0.5895, allocations: 4.61 MB / 0.6252 GB, free: 4.184 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006894/0.5964, allocations: 2.388 MB / 0.6275 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5965, allocations: 0 / 0.6275 GB, free: 1.801 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003791/0.6003, allocations: 1.315 MB / 0.6288 GB, free: 488 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.6019, allocations: 97.08 kB / 0.6289 GB, free: 396 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/0.6316, allocations: 14.32 MB / 0.6429 GB, free: 1.793 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000742/0.6324, allocations: 1.053 MB / 0.6439 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0006134/0.633, allocations: 109.3 kB / 0.644 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/0.6338, allocations: 427.3 kB / 0.6444 GB, free: 192 kB / 446.1 MB Notification: Performance of SimCode: time 1.243e-06/0.6338, allocations: 0 / 0.6444 GB, free: 192 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0596/0.6934, allocations: 32.36 MB / 0.676 GB, free: 252 kB / 478.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6937, allocations: 258.1 kB / 0.6763 GB, free: 15.99 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.772/3.465, allocations: 5.625 kB / 0.6763 GB, free: 15.99 MB / 494.1 MB (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Aggregated_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Aggregated_system.pipe 2>&1)