Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.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.001274/0.001274, allocations: 79.97 kB / 19.18 MB, free: 2.527 MB / 14.72 MB " [Timeout remaining time 180] 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.001369/0.001369, allocations: 166.4 kB / 22.46 MB, free: 5.355 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.38/1.38, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/package.mo): time 0.05008/0.05008, allocations: 7.51 MB / 266.7 MB, free: 9.645 MB / 254.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/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 Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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: translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 392.2 MB, free: 10.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.591e-05, allocations: 6.281 kB / 392.2 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01951/0.01954, allocations: 15.38 MB / 407.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001971/0.02151, allocations: 1.67 MB / 409.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.878e-05/0.02153, allocations: 0 / 409.3 MB, free: 9.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000547/0.02208, allocations: 231.8 kB / 409.5 MB, free: 9.051 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/0.02211, allocations: 31.84 kB / 409.5 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006146/0.02826, allocations: 2.893 MB / 412.4 MB, free: 6.121 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.046e-05/0.02835, allocations: 55.67 kB / 412.5 MB, free: 6.066 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.871e-05/0.0284, allocations: 4 kB / 412.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.423e-05/0.02849, allocations: 39.83 kB / 412.5 MB, free: 6.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.83e-05/0.02853, allocations: 15.94 kB / 412.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-06/0.02854, allocations: 0 / 412.5 MB, free: 6.008 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005069/0.03361, allocations: 3.301 MB / 415.8 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.182e-05/0.03362, allocations: 3.984 kB / 415.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.03365, allocations: 8 kB / 415.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002949/0.0366, allocations: 1.808 MB / 417.6 MB, free: 0.875 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.03661, allocations: 8 kB / 417.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.03661, allocations: 0 / 417.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.478e-06/0.03662, allocations: 0 / 417.7 MB, free: 0.8672 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007444/0.03736, allocations: 444.3 kB / 418.1 MB, free: 412 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.0374, allocations: 8.625 kB / 418.1 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.252e-05/0.03743, allocations: 7.984 kB / 418.1 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001246/0.03755, allocations: 109.1 kB / 418.2 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.03756, allocations: 0 / 418.2 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.03757, allocations: 3.938 kB / 418.2 MB, free: 256 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.99e-05/0.03767, allocations: 37.7 kB / 418.3 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.03768, allocations: 0 / 418.3 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.363e-06/0.03769, allocations: 4 kB / 418.3 MB, free: 208 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.0377, allocations: 7.984 kB / 418.3 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.777e-05/0.03772, allocations: 12 kB / 418.3 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.03788, allocations: 113.2 kB / 418.4 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.777e-05/0.03794, allocations: 34.5 kB / 418.4 MB, free: 0 / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.03798, allocations: 16.94 kB / 418.4 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02521/0.0632, allocations: 5.738 MB / 424.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.06323, allocations: 30.56 kB / 424.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 2.064e-06/0.06324, allocations: 0 / 424.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002033/0.06344, allocations: 77.64 kB / 424.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.06348, allocations: 55.41 kB / 424.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.981e-05/0.06356, allocations: 101.7 kB / 424.4 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.06358, allocations: 25.7 kB / 424.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.995e-05/0.06362, allocations: 88.3 kB / 424.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.06365, allocations: 15.86 kB / 424.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-05/0.06369, allocations: 13.72 kB / 424.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.06383, allocations: 318.8 kB / 424.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.06385, allocations: 12 kB / 424.9 MB, free: 9.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.06387, allocations: 12 kB / 424.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.13e-05/0.06392, allocations: 36.84 kB / 424.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.06392, allocations: 0 / 424.9 MB, free: 9.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.914e-05/0.06401, allocations: 73.59 kB / 425 MB, free: 9.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.06403, allocations: 4 kB / 425 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.06403, allocations: 0 / 425 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.06405, allocations: 12 kB / 425 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.06405, allocations: 0 / 425 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.06406, allocations: 0 / 425 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.06408, allocations: 7.891 kB / 425 MB, free: 9.297 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.06409, allocations: 0 / 425 MB, free: 9.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (inletState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.85e-05/0.06417, allocations: 117.8 kB / 425.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-06/0.06418, allocations: 3.938 kB / 425.2 MB, free: 9.168 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.06434, allocations: 171 kB / 425.3 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.884e-05/0.06443, allocations: 180.2 kB / 425.5 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.328e-05/0.06451, allocations: 180.2 kB / 425.7 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.889e-05/0.06459, allocations: 188.3 kB / 425.9 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/0.06483, allocations: 360.8 kB / 426.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.115e-05/0.06488, allocations: 105 kB / 426.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.374e-05/0.06493, allocations: 108.9 kB / 426.4 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.197e-05/0.06501, allocations: 184.2 kB / 426.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.142e-05/0.06509, allocations: 176.3 kB / 426.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.94e-05/0.06517, allocations: 184.2 kB / 427 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.443e-05/0.06524, allocations: 180.2 kB / 427.1 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001704/0.06541, allocations: 307.8 kB / 427.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.06546, allocations: 104.9 kB / 427.5 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.972e-05/0.06556, allocations: 192.1 kB / 427.7 MB, free: 6.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.928e-05/0.06565, allocations: 105 kB / 427.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.459e-05/0.06574, allocations: 180.2 kB / 428 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.06579, allocations: 105 kB / 428.1 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.086e-05/0.06586, allocations: 103.2 kB / 428.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.06586, allocations: 0 / 428.2 MB, free: 5.934 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000995/0.06685, allocations: 394.8 kB / 428.6 MB, free: 5.547 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001788/0.06864, allocations: 0.779 MB / 429.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 7.047e-05/0.06871, allocations: 12 kB / 429.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.06871, allocations: 0 / 429.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 1.453e-06/0.06872, allocations: 0 / 429.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005678/0.06928, allocations: 488 kB / 429.9 MB, free: 4.262 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002946/0.06958, allocations: 200.2 kB / 430.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.148e-05/0.06964, allocations: 59.34 kB / 430.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.807e-05/0.06966, allocations: 4 kB / 430.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.235e-05/0.06967, allocations: 8.781 kB / 430.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.06967, allocations: 0 / 430.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of Templates: time 0.02168/0.09135, allocations: 14.33 MB / 444.5 MB, free: 5.641 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.754867497831583] Failed to read output from testmodel.py, exit status != 0: 0.09941115975379944 0.24955858300000003 0.2103548 Calling exit ...