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.001395/0.001395, allocations: 117.2 kB / 17.17 MB, free: 5.754 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.464/1.464, allocations: 230.6 MB / 250.5 MB, free: 9.402 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.001707/0.001707, allocations: 205.8 kB / 306.7 MB, free: 4.344 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4601/0.4601, allocations: 79.71 MB / 442.5 MB, free: 232 kB / 302.1 MB " [Timeout remaining time 179] 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.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system,fileNamePrefix="OpenIPSL_OpenIPSL_Examples_RaPIdExperiments_Generator_Aggregation_Reference_system",fmuType="cs",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.00258/0.00258, allocations: 87.88 kB / 0.5885 GB, free: 1.637 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.141/0.1436, allocations: 73.27 MB / 0.66 GB, free: 8.273 MB / 462.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.01075/0.1544, allocations: 8.256 MB / 0.6681 GB, free: 15.97 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.006751/0.1611, allocations: 2.643 MB / 0.6707 GB, free: 13.32 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00163/0.1627, allocations: 12 kB / 0.6707 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.164, allocations: 309.4 kB / 0.671 GB, free: 13 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004976/0.169, allocations: 1.558 MB / 0.6725 GB, free: 11.45 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1706, allocations: 0.6076 MB / 0.6731 GB, free: 10.85 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.003948/0.1745, allocations: 2.562 MB / 0.6756 GB, free: 8.281 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006264/0.1752, allocations: 220.8 kB / 0.6758 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.1771, allocations: 1.028 MB / 0.6768 GB, free: 7.008 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002267/0.1793, allocations: 1.374 MB / 0.6782 GB, free: 5.629 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007044/0.18, allocations: 204 kB / 0.6784 GB, free: 5.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00126/0.1813, allocations: 399.8 kB / 0.6787 GB, free: 5.039 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008479/0.1821, allocations: 0.5176 MB / 0.6792 GB, free: 4.52 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001635/0.1838, allocations: 0.9907 MB / 0.6802 GB, free: 3.523 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.1869, allocations: 2.381 MB / 0.6825 GB, free: 1.133 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1869, allocations: 0 / 0.6825 GB, free: 1.133 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1869, allocations: 0 / 0.6825 GB, free: 1.133 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.187, allocations: 7.938 kB / 0.6825 GB, free: 1.125 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 213 * Number of variables: 213 Notification: Performance of Generate backend data structure: time 0.02103/0.208, allocations: 4.998 MB / 0.6874 GB, free: 12.06 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.208, allocations: 12.03 kB / 0.6874 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.649e-05/0.2081, allocations: 26.19 kB / 0.6875 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001926/0.2083, allocations: 139.4 kB / 0.6876 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003553/0.2118, allocations: 0.5807 MB / 0.6882 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002087/0.2139, allocations: 1.237 MB / 0.6894 GB, free: 10.02 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003081/0.2142, allocations: 268.8 kB / 0.6896 GB, free: 9.715 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/0.2145, allocations: 112 kB / 0.6897 GB, free: 9.605 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.2167, allocations: 1.093 MB / 0.6908 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.2167, allocations: 0 / 0.6908 GB, free: 8.504 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.2168, allocations: 32 kB / 0.6908 GB, free: 8.473 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.158e-05/0.2168, allocations: 23.94 kB / 0.6909 GB, free: 8.449 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.2193, allocations: 1.179 MB / 0.692 GB, free: 7.273 MB / 494.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.00775/0.2271, allocations: 4.611 MB / 0.6965 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.2306, allocations: 2.057 MB / 0.6985 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2717/0.5023, allocations: 0.712 MB / 0.6992 GB, free: 35.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001584/0.5024, allocations: 23.5 kB / 0.6992 GB, free: 35.86 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.5025, allocations: 49.94 kB / 0.6993 GB, free: 35.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.407e-06/0.5025, allocations: 0.625 kB / 0.6993 GB, free: 35.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02874/0.5312, allocations: 6.662 MB / 0.7058 GB, free: 35.57 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.5313, allocations: 69.16 kB / 0.7059 GB, free: 35.5 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002818/0.5341, allocations: 1.66 MB / 0.7075 GB, free: 35.34 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003493/0.5344, allocations: 58.48 kB / 0.7075 GB, free: 35.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.5348, allocations: 0.5531 MB / 0.7081 GB, free: 35.18 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005395/0.5354, allocations: 0.5141 MB / 0.7086 GB, free: 34.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009492/0.5363, allocations: 0.514 MB / 0.7091 GB, free: 34.64 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.5364, allocations: 302.6 kB / 0.7094 GB, free: 34.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.5388, allocations: 1.149 MB / 0.7105 GB, free: 33.89 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002756/0.5415, allocations: 1.355 MB / 0.7118 GB, free: 33.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004552/0.5461, allocations: 2.346 MB / 0.7141 GB, free: 32.15 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.5461, allocations: 4.594 kB / 0.7141 GB, free: 32.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.009732/0.5558, allocations: 4.039 MB / 0.718 GB, free: 30.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.5558, allocations: 5.375 kB / 0.7181 GB, free: 30.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.5559, allocations: 1.906 kB / 0.7181 GB, free: 30.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.5666, allocations: 2.826 MB / 0.7208 GB, free: 30.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/0.5691, allocations: 477.7 kB / 0.7213 GB, free: 30.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.5746, allocations: 2.541 MB / 0.7238 GB, free: 28.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002878/0.5775, allocations: 248.8 kB / 0.724 GB, free: 28.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002112/0.5777, allocations: 92.33 kB / 0.7241 GB, free: 28.77 MB / 494.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 (281): * Single equations (assignments): 280 * 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.000595/0.5783, allocations: 313.2 kB / 0.7244 GB, free: 28.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.5786, allocations: 177.3 kB / 0.7245 GB, free: 28.42 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01015/0.5888, allocations: 3.51 MB / 0.728 GB, free: 26.56 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.5888, allocations: 14.73 kB / 0.728 GB, free: 26.56 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/0.5888, allocations: 5.125 kB / 0.728 GB, free: 26.56 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.5888, allocations: 7.969 kB / 0.728 GB, free: 26.55 MB / 494.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.01217/0.601, allocations: 5.626 MB / 0.7335 GB, free: 22.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.601, allocations: 0 / 0.7335 GB, free: 22.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009761/0.602, allocations: 168.3 kB / 0.7337 GB, free: 22.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004994/0.607, allocations: 1.48 MB / 0.7351 GB, free: 21.41 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/0.6071, allocations: 31.98 kB / 0.7351 GB, free: 21.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.6235, allocations: 7.863 MB / 0.7428 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.6235, allocations: 0 / 0.7428 GB, free: 13.39 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01186/0.6354, allocations: 4.539 MB / 0.7472 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006516/0.636, allocations: 307.6 kB / 0.7475 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.6363, allocations: 27.94 kB / 0.7476 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/0.6377, allocations: 79.86 kB / 0.7476 GB, free: 8.426 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005319/0.6382, allocations: 193.5 kB / 0.7478 GB, free: 8.238 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-05/0.6383, allocations: 32 kB / 0.7479 GB, free: 8.207 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001174/0.6395, allocations: 1.098 MB / 0.7489 GB, free: 7.113 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6395, allocations: 0 / 0.7489 GB, free: 7.113 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001396/0.6409, allocations: 0.5906 MB / 0.7495 GB, free: 6.535 MB / 494.1 MB 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 (93): * Single equations (assignments): 92 * 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.01182/0.6527, allocations: 5.132 MB / 0.7545 GB, free: 1.375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008137/0.6609, allocations: 2.756 MB / 0.7572 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6609, allocations: 0 / 0.7572 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004731/0.6656, allocations: 1.454 MB / 0.7586 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001329/0.6669, allocations: 141.5 kB / 0.7588 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/0.7078, allocations: 18.84 MB / 0.7772 GB, free: 10 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.7089, allocations: 1.234 MB / 0.7784 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009993/0.7099, allocations: 163.2 kB / 0.7785 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001086/0.711, allocations: 0.632 MB / 0.7791 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of SimCode: time 1.162e-06/0.711, allocations: 4 kB / 0.7791 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09272/0.8037, allocations: 45.71 MB / 0.8238 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.45/16.25, allocations: 15.5 kB / 0.8238 GB, free: 10.48 MB / 0.5606 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.911660798010416] Failed to read output from testmodel.py, exit status != 0: 16.430114613031037 16.453685944 16.262793573 Calling exit ...