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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001589/0.001589, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002445/0.002445, allocations: 191.7 kB / 299.8 MB, free: 9.816 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.4603/0.4603, allocations: 79.73 MB / 434.4 MB, free: 6.199 MB / 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.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.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: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 83.88 kB / 0.5784 GB, free: 9.992 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1484, allocations: 72.08 MB / 0.6488 GB, free: 1.805 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.RaPIdExperiments.Generator_Aggregation.Reference_system): time 0.009451/0.1579, allocations: 8.243 MB / 0.6568 GB, free: 9.512 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.006496/0.1644, allocations: 2.632 MB / 0.6594 GB, free: 6.871 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001726/0.1661, allocations: 12 kB / 0.6594 GB, free: 6.859 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001258/0.1674, allocations: 309.4 kB / 0.6597 GB, free: 6.555 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.1726, allocations: 1.545 MB / 0.6612 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.1744, allocations: 0.5966 MB / 0.6618 GB, free: 4.426 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.1789, allocations: 2.562 MB / 0.6643 GB, free: 1.855 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006761/0.1795, allocations: 216.8 kB / 0.6645 GB, free: 1.617 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001831/0.1814, allocations: 1.012 MB / 0.6655 GB, free: 0.6016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002366/0.1837, allocations: 1.381 MB / 0.6668 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008485/0.1846, allocations: 204 kB / 0.667 GB, free: 15.02 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00143/0.186, allocations: 383.8 kB / 0.6674 GB, free: 14.64 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006713/0.1867, allocations: 0.5176 MB / 0.6679 GB, free: 14.12 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001179/0.1879, allocations: 0.9908 MB / 0.6689 GB, free: 13.12 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003031/0.1909, allocations: 2.385 MB / 0.6712 GB, free: 10.73 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1909, allocations: 0 / 0.6712 GB, free: 10.73 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1909, allocations: 0 / 0.6712 GB, free: 10.73 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.881e-05/0.1909, allocations: 0 / 0.6712 GB, free: 10.73 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.02039/0.2113, allocations: 5.002 MB / 0.6761 GB, free: 5.664 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.2114, allocations: 16.03 kB / 0.6761 GB, free: 5.648 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001947/0.2116, allocations: 135.4 kB / 0.6762 GB, free: 5.508 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00352/0.2151, allocations: 0.5769 MB / 0.6768 GB, free: 4.93 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002316/0.2174, allocations: 1.233 MB / 0.678 GB, free: 3.648 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003162/0.2177, allocations: 268.8 kB / 0.6782 GB, free: 3.352 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/0.218, allocations: 112 kB / 0.6783 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002246/0.2202, allocations: 1.096 MB / 0.6794 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.2202, allocations: 0 / 0.6794 GB, free: 2.141 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.2203, allocations: 36 kB / 0.6794 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/0.2204, allocations: 27.92 kB / 0.6795 GB, free: 2.078 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002435/0.2228, allocations: 1.171 MB / 0.6806 GB, free: 0.9023 MB / 478.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.008798/0.2316, allocations: 4.615 MB / 0.6851 GB, free: 12.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003364/0.235, allocations: 2.044 MB / 0.6871 GB, free: 9.848 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.2364, allocations: 0.7231 MB / 0.6878 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.2366, allocations: 25.28 kB / 0.6878 GB, free: 9.098 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.2366, allocations: 47.81 kB / 0.6879 GB, free: 9.039 MB / 494.1 MB Notification: Performance of pre-optimization done (n=130): time 3.507e-06/0.2366, allocations: 11.94 kB / 0.6879 GB, free: 9.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=130): time 0.02633/0.2629, allocations: 6.657 MB / 0.6944 GB, free: 2.332 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.263, allocations: 64.72 kB / 0.6945 GB, free: 2.258 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.2658, allocations: 1.659 MB / 0.6961 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004334/0.2663, allocations: 53.7 kB / 0.6961 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.3017/0.568, allocations: 0.5589 MB / 0.6967 GB, free: 43.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008669/0.5688, allocations: 0.5169 MB / 0.6972 GB, free: 43.38 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.57, allocations: 0.5118 MB / 0.6977 GB, free: 43.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.236e-05/0.57, allocations: 305.7 kB / 0.698 GB, free: 43.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002389/0.5724, allocations: 1.145 MB / 0.6991 GB, free: 43.04 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002597/0.575, allocations: 1.358 MB / 0.7004 GB, free: 42.89 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004809/0.5798, allocations: 2.342 MB / 0.7027 GB, free: 41.75 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.5798, allocations: 0.9062 kB / 0.7027 GB, free: 41.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=348) (initialization): time 0.01029/0.5901, allocations: 4.04 MB / 0.7067 GB, free: 40.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.5902, allocations: 6.266 kB / 0.7067 GB, free: 40.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.5902, allocations: 5.531 kB / 0.7067 GB, free: 40.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01116/0.6013, allocations: 2.823 MB / 0.7094 GB, free: 39.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002532/0.6039, allocations: 482.1 kB / 0.7099 GB, free: 39.89 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005475/0.6094, allocations: 2.522 MB / 0.7124 GB, free: 38.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002789/0.6121, allocations: 257 kB / 0.7126 GB, free: 38.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002647/0.6124, allocations: 93.3 kB / 0.7127 GB, free: 38.51 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.0006217/0.613, allocations: 311 kB / 0.713 GB, free: 38.26 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.6134, allocations: 177.4 kB / 0.7131 GB, free: 38.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01088/0.6243, allocations: 3.517 MB / 0.7166 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.7e-05/0.6243, allocations: 13.34 kB / 0.7166 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/0.6243, allocations: 2.938 kB / 0.7166 GB, free: 37.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-05/0.6243, allocations: 7.172 kB / 0.7166 GB, free: 37.18 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.01334/0.6377, allocations: 5.618 MB / 0.7221 GB, free: 34.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.089e-05/0.6377, allocations: 0 / 0.7221 GB, free: 34.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00121/0.6389, allocations: 166.2 kB / 0.7223 GB, free: 34.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004891/0.6438, allocations: 1.491 MB / 0.7237 GB, free: 34.66 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003136/0.6441, allocations: 27.11 kB / 0.7237 GB, free: 34.64 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01661/0.6607, allocations: 7.869 MB / 0.7314 GB, free: 29.16 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.6607, allocations: 0 / 0.7314 GB, free: 29.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01212/0.6728, allocations: 4.537 MB / 0.7358 GB, free: 24.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/0.6737, allocations: 313.2 kB / 0.7361 GB, free: 24.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/0.6743, allocations: 28 kB / 0.7362 GB, free: 24.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/0.6761, allocations: 79.92 kB / 0.7362 GB, free: 24.19 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006511/0.6768, allocations: 189.5 kB / 0.7364 GB, free: 24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.6769, allocations: 32 kB / 0.7365 GB, free: 23.97 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001704/0.6786, allocations: 1.09 MB / 0.7375 GB, free: 22.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6786, allocations: 0 / 0.7375 GB, free: 22.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002216/0.6808, allocations: 0.5975 MB / 0.7381 GB, free: 22.3 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.01194/0.6928, allocations: 5.142 MB / 0.7431 GB, free: 17.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007905/0.7007, allocations: 2.746 MB / 0.7458 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.7007, allocations: 0.875 kB / 0.7458 GB, free: 14.39 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/0.7047, allocations: 1.453 MB / 0.7472 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.7069, allocations: 130.1 kB / 0.7474 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/0.747, allocations: 18.85 MB / 0.7658 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001362/0.7483, allocations: 1.234 MB / 0.767 GB, free: 8.504 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001203/0.7495, allocations: 159.2 kB / 0.7671 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00155/0.7511, allocations: 0.632 MB / 0.7677 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of SimCode: time 1.683e-06/0.7511, allocations: 0 / 0.7677 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1065/0.8576, allocations: 45.61 MB / 0.8123 GB, free: 10.33 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/16.96, allocations: 10.2 kB / 0.8123 GB, free: 10.33 MB / 0.545 GB " [Timeout remaining time 643] (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: 20.669398381840438] Failed to read output from testmodel.py, exit status != 0: 17.076137648895383 17.09039699 16.896557244 Calling exit ...