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.001831/0.001831, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.494/1.494, allocations: 230.6 MB / 252.6 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.001593/0.001593, allocations: 219.5 kB / 309.2 MB, free: 3.148 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.5455/0.5455, 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.002485/0.002485, allocations: 87.88 kB / 0.6244 GB, free: 12.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4197, allocations: 78.61 MB / 0.7012 GB, free: 9.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.006917/0.4266, allocations: 8.355 MB / 0.7093 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004845/0.4314, allocations: 2.663 MB / 0.7119 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.4327, allocations: 10.34 kB / 0.7119 GB, free: 1.27 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007079/0.4334, allocations: 305.5 kB / 0.7122 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002819/0.4362, allocations: 1.206 MB / 0.7134 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.4376, allocations: 0.6969 MB / 0.7141 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003147/0.4407, allocations: 2.392 MB / 0.7164 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.4411, allocations: 215.6 kB / 0.7166 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.4426, allocations: 0.9938 MB / 0.7176 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.4444, allocations: 1.339 MB / 0.7189 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003336/0.4447, allocations: 205.4 kB / 0.7191 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007688/0.4455, allocations: 389.8 kB / 0.7195 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004863/0.446, allocations: 0.5037 MB / 0.72 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.4471, allocations: 0.9722 MB / 0.7209 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003447/0.4505, allocations: 2.359 MB / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.4505, allocations: 2.766 kB / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4505, allocations: 0 / 0.7232 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.577e-05/0.4506, allocations: 0 / 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.0178/0.4684, allocations: 4.099 MB / 0.7272 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4684, allocations: 9.281 kB / 0.7272 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.4687, allocations: 135.7 kB / 0.7274 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003778/0.4724, allocations: 0.5889 MB / 0.7279 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002643/0.4751, allocations: 1.167 MB / 0.7291 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004166/0.4755, allocations: 328.4 kB / 0.7294 GB, free: 8.781 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/0.4757, allocations: 115.2 kB / 0.7295 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.4781, allocations: 1.109 MB / 0.7306 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.28e-05/0.4781, allocations: 0 / 0.7306 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.4783, allocations: 31 kB / 0.7306 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.35e-05/0.4783, allocations: 24.41 kB / 0.7306 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002667/0.4809, allocations: 1.206 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.009007/0.49, allocations: 4.588 MB / 0.7363 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00312/0.4931, allocations: 1.33 MB / 0.7376 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.4946, allocations: 0.727 MB / 0.7383 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.4947, allocations: 31.3 kB / 0.7383 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.4948, allocations: 49.16 kB / 0.7384 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=133): time 3.086e-06/0.4948, allocations: 0 / 0.7384 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of matching and sorting (n=133): time 0.02961/0.5244, allocations: 6.887 MB / 0.7451 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.074e-05/0.5245, allocations: 64.78 kB / 0.7452 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003387/0.5279, allocations: 1.661 MB / 0.7468 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004556/0.5283, allocations: 61.8 kB / 0.7469 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000549/0.5289, allocations: 0.5543 MB / 0.7474 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006936/0.5295, allocations: 0.5315 MB / 0.7479 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009413/0.5305, allocations: 0.5176 MB / 0.7484 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.5306, allocations: 305.1 kB / 0.7487 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/0.533, allocations: 1.155 MB / 0.7498 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.5357, allocations: 1.38 MB / 0.7512 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004652/0.5403, allocations: 2.371 MB / 0.7535 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.5403, allocations: 1.188 kB / 0.7535 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01136/0.5517, allocations: 4.317 MB / 0.7577 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.953e-05/0.5517, allocations: 11.94 kB / 0.7577 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.5517, allocations: 0 / 0.7577 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/0.5638, allocations: 2.889 MB / 0.7606 GB, free: 3.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002646/0.5665, allocations: 487.3 kB / 0.761 GB, free: 2.832 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.5728, allocations: 2.557 MB / 0.7635 GB, free: 252 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.5762, allocations: 250.4 kB / 0.7638 GB, free: 0 / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003806/0.5766, allocations: 95.97 kB / 0.7638 GB, free: 15.91 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.0007635/0.5774, allocations: 313.3 kB / 0.7641 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005017/0.5779, allocations: 182.8 kB / 0.7643 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/0.5898, allocations: 3.577 MB / 0.7678 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.5898, allocations: 16 kB / 0.7678 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5898, allocations: 3.938 kB / 0.7678 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.5898, allocations: 3.984 kB / 0.7678 GB, free: 11.79 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.01545/0.6053, allocations: 5.673 MB / 0.7734 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.6053, allocations: 0 / 0.7734 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.6065, allocations: 179.7 kB / 0.7735 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00608/0.6125, allocations: 1.535 MB / 0.775 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002576/0.6128, allocations: 31.94 kB / 0.7751 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02105/0.6339, allocations: 7.915 MB / 0.7828 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.6339, allocations: 0 / 0.7828 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01436/0.6482, allocations: 4.623 MB / 0.7873 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008734/0.6491, allocations: 238.5 kB / 0.7875 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003565/0.6495, allocations: 24 kB / 0.7876 GB, free: 7.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/0.6511, allocations: 87.86 kB / 0.7877 GB, free: 7.191 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005937/0.6516, allocations: 201.4 kB / 0.7878 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.893e-05/0.6517, allocations: 32 kB / 0.7879 GB, free: 6.957 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001649/0.6534, allocations: 1.094 MB / 0.7889 GB, free: 5.867 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.6534, allocations: 0 / 0.7889 GB, free: 5.867 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00179/0.6552, allocations: 0.5973 MB / 0.7895 GB, free: 5.27 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.01422/0.6694, allocations: 5.232 MB / 0.7946 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008881/0.6783, allocations: 2.811 MB / 0.7974 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.6783, allocations: 0 / 0.7974 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/0.6831, allocations: 1.485 MB / 0.7988 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.6844, allocations: 129.6 kB / 0.799 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03993/0.7243, allocations: 18.95 MB / 0.8175 GB, free: 8.359 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009016/0.7252, allocations: 1.242 MB / 0.8187 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009175/0.7262, allocations: 163.2 kB / 0.8188 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001037/0.7272, allocations: 0.6437 MB / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of SimCode: time 6.21e-07/0.7272, allocations: 0 / 0.8195 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09911/0.8263, allocations: 47.16 MB / 0.8655 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.4/17.22, allocations: 14.03 kB / 0.8655 GB, free: 7.27 MB / 0.6231 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file OpenIPSL_dev_OpenIPSL.Examples.RaPIdExperiments.Generator_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_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: 20.720218025002396] Failed to read output from testmodel.py, exit status != 0: 17.368152447998 17.38556413 16.931579881 Calling exit ...