Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001717/0.001717, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.598/1.598, allocations: 230.6 MB / 252.7 MB, free: 8.312 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 219.8 kB / 309.2 MB, free: 3.168 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5737/0.5737, allocations: 101.3 MB / 467 MB, free: 10.36 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002535, allocations: 79.88 kB / 0.6244 GB, free: 12.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5/0.5025, allocations: 78.61 MB / 0.7012 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008495/0.511, allocations: 8.348 MB / 0.7093 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005429/0.5165, allocations: 2.66 MB / 0.7119 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001211/0.5177, allocations: 15.16 kB / 0.7119 GB, free: 1.277 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008282/0.5185, allocations: 308 kB / 0.7122 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003016/0.5215, allocations: 1.204 MB / 0.7134 GB, free: 344 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001577/0.5231, allocations: 0.6984 MB / 0.7141 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004126/0.5272, allocations: 2.398 MB / 0.7164 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005197/0.5277, allocations: 221.7 kB / 0.7166 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.5297, allocations: 0.9874 MB / 0.7176 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.5319, allocations: 1.343 MB / 0.7189 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000449/0.5323, allocations: 205.3 kB / 0.7191 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000952/0.5333, allocations: 391.4 kB / 0.7195 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005866/0.5339, allocations: 0.5031 MB / 0.72 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.00136/0.5352, allocations: 0.9751 MB / 0.7209 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003792/0.539, allocations: 2.352 MB / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.539, allocations: 0.75 kB / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.994e-06/0.539, allocations: 0 / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.782e-05/0.5391, allocations: 5.062 kB / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.01867/0.5578, allocations: 4.091 MB / 0.7272 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.5578, allocations: 12.78 kB / 0.7272 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000242/0.5581, allocations: 144.8 kB / 0.7274 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003945/0.562, allocations: 0.5806 MB / 0.7279 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.565, allocations: 1.166 MB / 0.7291 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004425/0.5654, allocations: 324.5 kB / 0.7294 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.5657, allocations: 119.5 kB / 0.7295 GB, free: 8.746 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.5683, allocations: 1.109 MB / 0.7306 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.5683, allocations: 0 / 0.7306 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.5684, allocations: 35.88 kB / 0.7306 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/0.5685, allocations: 24.44 kB / 0.7306 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002728/0.5712, allocations: 1.201 MB / 0.7318 GB, free: 7.535 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 preOpt removeSimpleEquations (simulation): time 0.009734/0.5809, allocations: 4.584 MB / 0.7363 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.5842, allocations: 1.336 MB / 0.7376 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001593/0.5858, allocations: 0.7324 MB / 0.7383 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001328/0.586, allocations: 22.64 kB / 0.7383 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.927e-05/0.586, allocations: 45.19 kB / 0.7384 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.096e-06/0.586, allocations: 0 / 0.7384 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133): time 0.02962/0.6156, allocations: 6.891 MB / 0.7451 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.749e-05/0.6157, allocations: 73.44 kB / 0.7452 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003498/0.6192, allocations: 1.658 MB / 0.7468 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004712/0.6197, allocations: 64.08 kB / 0.7469 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005881/0.6203, allocations: 0.5513 MB / 0.7474 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/0.621, allocations: 0.5268 MB / 0.7479 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001/0.622, allocations: 0.5172 MB / 0.7484 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6222, allocations: 302.8 kB / 0.7487 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002437/0.6246, allocations: 1.162 MB / 0.7498 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002729/0.6273, allocations: 1.372 MB / 0.7512 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/0.6322, allocations: 2.372 MB / 0.7535 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.389e-05/0.6322, allocations: 3.984 kB / 0.7535 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01165/0.6439, allocations: 4.313 MB / 0.7577 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/0.6439, allocations: 11.94 kB / 0.7577 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6439, allocations: 0 / 0.7577 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/0.6556, allocations: 2.897 MB / 0.7606 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/0.6585, allocations: 491.3 kB / 0.761 GB, free: 2.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/0.6649, allocations: 2.549 MB / 0.7635 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003734/0.6686, allocations: 262.5 kB / 0.7638 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005334/0.6691, allocations: 91.92 kB / 0.7639 GB, free: 15.9 MB / 0.5294 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 (284): * Single equations (assignments): 283 * 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 {(30,38)} Notification: Performance of prepare postOptimizeDAE: time 0.001085/0.6702, allocations: 313.3 kB / 0.7642 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006986/0.6709, allocations: 178.8 kB / 0.7643 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.6826, allocations: 3.574 MB / 0.7678 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.511e-05/0.6826, allocations: 16 kB / 0.7678 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.6826, allocations: 0 / 0.7678 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.507e-05/0.6827, allocations: 7.969 kB / 0.7678 GB, free: 11.8 MB / 0.5294 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.01572/0.6984, allocations: 5.68 MB / 0.7734 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/0.6984, allocations: 0 / 0.7734 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001122/0.6995, allocations: 179.7 kB / 0.7736 GB, free: 5.781 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/0.7054, allocations: 1.535 MB / 0.7751 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002153/0.7057, allocations: 31.94 kB / 0.7751 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02074/0.7264, allocations: 7.904 MB / 0.7828 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.7264, allocations: 0 / 0.7828 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01458/0.741, allocations: 4.625 MB / 0.7873 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.742, allocations: 234.5 kB / 0.7875 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007378/0.7428, allocations: 27.98 kB / 0.7876 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002081/0.7448, allocations: 83.92 kB / 0.7877 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006961/0.7455, allocations: 201.3 kB / 0.7878 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/0.7457, allocations: 39.98 kB / 0.7879 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001976/0.7477, allocations: 1.09 MB / 0.7889 GB, free: 5.871 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7477, allocations: 4 kB / 0.7889 GB, free: 5.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002417/0.7501, allocations: 0.5934 MB / 0.7895 GB, free: 5.273 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 18 (gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,gENROE1.w,gENROE1.delta,gENROE1.Epd,gENROE1.Epq,gENROE1.PSIkd,gENROE1.PSIkq,gENROE2.w,gENROE2.delta,gENROE2.Epd,gENROE2.Epq,gENROE2.PSIkd,gENROE2.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 (96): * Single equations (assignments): 95 * 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 {(16,31)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01464/0.7647, allocations: 5.228 MB / 0.7946 GB, free: 16 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009726/0.7744, allocations: 2.807 MB / 0.7974 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/0.7744, allocations: 0 / 0.7974 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005168/0.7796, allocations: 1.497 MB / 0.7988 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0021/0.7817, allocations: 134.9 kB / 0.799 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0457/0.8274, allocations: 18.93 MB / 0.8175 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001156/0.8286, allocations: 1.242 MB / 0.8187 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009492/0.8295, allocations: 159.2 kB / 0.8188 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001321/0.8308, allocations: 0.6321 MB / 0.8194 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of SimCode: time 1.292e-06/0.8308, allocations: 0 / 0.8194 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1469/0.9778, allocations: 47.19 MB / 0.8655 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/17.91, allocations: 11.62 kB / 0.8655 GB, free: 7.266 MB / 0.6231 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.77488710382022] Failed to read output from testmodel.py, exit status != 0: 18.055611688876525 18.073096495 17.530598673 Calling exit ...