Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_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.001389/0.001389, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.471/1.471, allocations: 230.6 MB / 252.7 MB, free: 14.29 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.001861/0.001861, allocations: 212.5 kB / 309.2 MB, free: 3.098 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/package.mo): time 0.6451/0.6451, allocations: 107.2 MB / 472.8 MB, free: 29.72 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0/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_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_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.002494/0.002494, allocations: 86.03 kB / 0.633 GB, free: 29.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1584, allocations: 80.15 MB / 0.7113 GB, free: 7.762 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.008831/0.1672, allocations: 7.174 MB / 0.7183 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005537/0.1728, allocations: 2.53 MB / 0.7208 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008617/0.1736, allocations: 12 kB / 0.7208 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007392/0.1744, allocations: 305.3 kB / 0.7211 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.1774, allocations: 1.169 MB / 0.7222 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001505/0.1789, allocations: 0.6947 MB / 0.7229 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00292/0.1818, allocations: 2.379 MB / 0.7252 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004197/0.1822, allocations: 205.3 kB / 0.7254 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.1835, allocations: 0.9924 MB / 0.7264 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001513/0.185, allocations: 1.217 MB / 0.7276 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003107/0.1854, allocations: 204 kB / 0.7278 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007654/0.1861, allocations: 375.8 kB / 0.7281 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004558/0.1866, allocations: 0.502 MB / 0.7286 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000811/0.1874, allocations: 0.8239 MB / 0.7294 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002689/0.1901, allocations: 2.369 MB / 0.7317 GB, free: 2.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1901, allocations: 4 kB / 0.7317 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1901, allocations: 0 / 0.7317 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.567e-05/0.1901, allocations: 0 / 0.7317 GB, free: 2.727 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.01534/0.2054, allocations: 4.099 MB / 0.7357 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.2055, allocations: 8.031 kB / 0.7357 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000194/0.2057, allocations: 139.5 kB / 0.7359 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.2091, allocations: 0.5886 MB / 0.7364 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.2113, allocations: 1.156 MB / 0.7376 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003598/0.2117, allocations: 332.2 kB / 0.7379 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/0.2119, allocations: 119.9 kB / 0.738 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.2142, allocations: 1.108 MB / 0.7391 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/0.2142, allocations: 0 / 0.7391 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.2143, allocations: 36 kB / 0.7391 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.52e-05/0.2143, allocations: 27.92 kB / 0.7392 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002571/0.2169, allocations: 1.195 MB / 0.7403 GB, free: 9.785 MB / 0.5137 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.007342/0.2243, allocations: 3.347 MB / 0.7436 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003168/0.2274, allocations: 1.321 MB / 0.7449 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.229, allocations: 0.7269 MB / 0.7456 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001057/0.2291, allocations: 25.3 kB / 0.7456 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/0.2291, allocations: 43.88 kB / 0.7457 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=133): time 4.037e-06/0.2291, allocations: 0 / 0.7457 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of matching and sorting (n=133): time 0.02886/0.258, allocations: 6.887 MB / 0.7524 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.051e-05/0.2581, allocations: 68.66 kB / 0.7524 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002913/0.261, allocations: 1.659 MB / 0.7541 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000399/0.2614, allocations: 61.7 kB / 0.7541 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005277/0.2619, allocations: 0.5505 MB / 0.7547 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006999/0.2626, allocations: 0.5347 MB / 0.7552 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009253/0.2635, allocations: 0.5174 MB / 0.7557 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.2636, allocations: 301.1 kB / 0.756 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002394/0.266, allocations: 1.165 MB / 0.7571 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002629/0.2687, allocations: 1.365 MB / 0.7584 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004833/0.2735, allocations: 2.378 MB / 0.7608 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.2735, allocations: 0 / 0.7608 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=351) (initialization): time 0.01123/0.2847, allocations: 4.31 MB / 0.765 GB, free: 292 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.2848, allocations: 8.125 kB / 0.765 GB, free: 284 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.2848, allocations: 8 kB / 0.765 GB, free: 276 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/0.2962, allocations: 2.885 MB / 0.7678 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/0.2988, allocations: 483.3 kB / 0.7683 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/0.3051, allocations: 2.561 MB / 0.7708 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/0.3081, allocations: 258.4 kB / 0.771 GB, free: 10.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002656/0.3084, allocations: 91.91 kB / 0.7711 GB, free: 9.973 MB / 0.545 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.0006871/0.3091, allocations: 313.3 kB / 0.7714 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003849/0.3094, allocations: 174.8 kB / 0.7716 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.3209, allocations: 3.589 MB / 0.7751 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.3209, allocations: 12 kB / 0.7751 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.3209, allocations: 0 / 0.7751 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.3209, allocations: 7.969 kB / 0.7751 GB, free: 5.859 MB / 0.545 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.01398/0.3349, allocations: 4.87 MB / 0.7799 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.3349, allocations: 0 / 0.7799 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.336, allocations: 167.8 kB / 0.78 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005913/0.3419, allocations: 1.527 MB / 0.7815 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002046/0.3421, allocations: 35.92 kB / 0.7815 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02127/0.3634, allocations: 7.709 MB / 0.7891 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.3634, allocations: 0 / 0.7891 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.378, allocations: 4.625 MB / 0.7936 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008291/0.3788, allocations: 234.5 kB / 0.7938 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000592/0.3794, allocations: 28 kB / 0.7938 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.3812, allocations: 79.92 kB / 0.7939 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/0.3819, allocations: 205.4 kB / 0.7941 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/0.3821, allocations: 32 kB / 0.7941 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002076/0.3841, allocations: 1.094 MB / 0.7952 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3841, allocations: 0 / 0.7952 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002471/0.3866, allocations: 0.6012 MB / 0.7958 GB, free: 464 kB / 0.5606 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.4012, allocations: 5.221 MB / 0.8009 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009524/0.4108, allocations: 2.807 MB / 0.8036 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4108, allocations: 4 kB / 0.8036 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005272/0.416, allocations: 1.496 MB / 0.8051 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.4183, allocations: 135.9 kB / 0.8052 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3702/0.7885, allocations: 18.93 MB / 0.8237 GB, free: 90.64 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009249/0.7895, allocations: 0.6525 MB / 0.8243 GB, free: 90.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009134/0.7904, allocations: 161.9 kB / 0.8245 GB, free: 90.49 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008992/0.7913, allocations: 0.6379 MB / 0.8251 GB, free: 89.99 MB / 0.5762 GB Notification: Performance of SimCode: time 2.114e-06/0.7913, allocations: 0 / 0.8251 GB, free: 89.99 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1241/0.9154, allocations: 46.76 MB / 0.8708 GB, free: 53.27 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.54/15.45, allocations: 11.86 kB / 0.8708 GB, free: 53.26 MB / 0.5762 GB " [Timeout remaining time 644] (rm -f OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; mkfifo OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe >> ../files/OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system.fmu > OpenIPSL_OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.383806724101305] Failed to read output from testmodel.py, exit status != 0: 15.596639838069677 15.607821468 15.415332685 Calling exit ...