Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.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.001261/0.001261, allocations: 80.28 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.001334/0.001334, allocations: 168 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.367/1.367, allocations: 177.1 MB / 202.8 MB, free: 9.168 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.04762/0.04762, allocations: 7.524 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.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") translateModel(HelmholtzMedia.Examples.Parameter.SinglePhase_setState,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 392.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.292e-05, allocations: 2.281 kB / 392.2 MB, free: 10.39 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.SinglePhase_setState): time 0.01962/0.01964, allocations: 16.72 MB / 408.9 MB, free: 9.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0156/0.03524, allocations: 14.53 MB / 423.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.03536, allocations: 4 kB / 423.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006992/0.03606, allocations: 258.6 kB / 423.7 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.03628, allocations: 131.2 kB / 423.9 MB, free: 10.63 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:888:13-888:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: RSS_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/package.mo:1232:13-1232:51:writable] Warning: lambda_ls was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.05272, allocations: 7.43 MB / 431.3 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.05304, allocations: 254.5 kB / 431.5 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.05309, allocations: 17.23 kB / 431.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.0533, allocations: 147.6 kB / 431.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.423e-05/0.0534, allocations: 47.86 kB / 431.7 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.419e-05/0.05341, allocations: 4 kB / 431.7 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.0659, allocations: 7.109 MB / 438.9 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.06592, allocations: 11.92 kB / 438.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.06603, allocations: 47.92 kB / 438.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008027/0.07406, allocations: 4.38 MB / 443.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.07406, allocations: 0 / 443.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.07406, allocations: 0 / 443.3 MB, free: 7.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.07407, allocations: 0 / 443.3 MB, free: 7.152 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.002012/0.07608, allocations: 0.9145 MB / 444.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.07612, allocations: 8.625 kB / 444.2 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.316e-05/0.07616, allocations: 11.95 kB / 444.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001177/0.07628, allocations: 117.1 kB / 444.3 MB, free: 6.043 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.07629, allocations: 4 kB / 444.3 MB, free: 6.039 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.338e-05/0.0763, allocations: 3.938 kB / 444.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.07651, allocations: 125.5 kB / 444.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.07652, allocations: 0 / 444.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.546e-06/0.07652, allocations: 0 / 444.5 MB, free: 5.906 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.693e-05/0.07654, allocations: 11.98 kB / 444.5 MB, free: 5.895 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.07664, allocations: 83.95 kB / 444.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002322/0.07687, allocations: 188.8 kB / 444.7 MB, free: 5.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001338/0.07701, allocations: 106.5 kB / 444.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.626e-05/0.0771, allocations: 84.89 kB / 444.9 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2588/0.3359, allocations: 27.52 MB / 472.5 MB, free: 55.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/0.3359, allocations: 37.38 kB / 472.5 MB, free: 55.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 2.184e-06/0.3359, allocations: 0 / 472.5 MB, free: 55.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.0004034/0.3363, allocations: 346.4 kB / 472.8 MB, free: 55.46 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.3363, allocations: 59.12 kB / 472.9 MB, free: 55.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.166e-05/0.3364, allocations: 93.86 kB / 473 MB, free: 55.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.3364, allocations: 29.7 kB / 473 MB, free: 55.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.308e-05/0.3364, allocations: 85.27 kB / 473.1 MB, free: 55.18 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.912e-05/0.3365, allocations: 132.2 kB / 473.2 MB, free: 55.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3365, allocations: 41.69 kB / 473.3 MB, free: 55.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.06e-05/0.3366, allocations: 322.8 kB / 473.6 MB, free: 54.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.204e-05/0.3366, allocations: 87.75 kB / 473.7 MB, free: 54.61 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.829e-05/0.3367, allocations: 83.75 kB / 473.7 MB, free: 54.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3368, allocations: 204.3 kB / 473.9 MB, free: 54.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3368, allocations: 0 / 473.9 MB, free: 54.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0001973/0.337, allocations: 245 kB / 474.2 MB, free: 54.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.337, allocations: 4 kB / 474.2 MB, free: 54.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.3371, allocations: 0 / 474.2 MB, free: 54.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3371, allocations: 11.75 kB / 474.2 MB, free: 54.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-07/0.3371, allocations: 0 / 474.2 MB, free: 54.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.3371, allocations: 0 / 474.2 MB, free: 54.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.006e-05/0.3371, allocations: 19.98 kB / 474.2 MB, free: 54.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3371, allocations: 0 / 474.2 MB, free: 54.06 MB / 366.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: 6 (state_Ts.phase,state_ps.phase,state_ph.phase,state_pd.phase,state_dT.phase,state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 6.027e-05/0.3372, allocations: 120 kB / 474.3 MB, free: 53.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.3372, allocations: 15.89 kB / 474.4 MB, free: 53.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.3375, allocations: 392.4 kB / 474.7 MB, free: 53.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.3375, allocations: 11.98 kB / 474.7 MB, free: 53.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3375, allocations: 0 / 474.7 MB, free: 53.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3376, allocations: 1.875 kB / 474.7 MB, free: 53.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3377, allocations: 174.5 kB / 474.9 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3377, allocations: 4 kB / 474.9 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.3377, allocations: 0 / 474.9 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3377, allocations: 0 / 474.9 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.3377, allocations: 0 / 474.9 MB, free: 53.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3377, allocations: 7.875 kB / 474.9 MB, free: 53.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3377, allocations: 0 / 474.9 MB, free: 53.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001721/0.3378, allocations: 241.7 kB / 475.2 MB, free: 53.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.748e-05/0.3379, allocations: 20.41 kB / 475.2 MB, free: 53.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/0.3379, allocations: 3.391 kB / 475.2 MB, free: 53.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.164e-05/0.3379, allocations: 4.5 kB / 475.2 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.383e-05/0.3379, allocations: 7.984 kB / 475.2 MB, free: 53.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.3379, allocations: 0 / 475.2 MB, free: 53.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 3.828e-05/0.338, allocations: 99.27 kB / 475.3 MB, free: 52.94 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.338, allocations: 0 / 475.3 MB, free: 52.94 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001882/0.3399, allocations: 1.113 MB / 476.4 MB, free: 51.97 MB / 366.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: 5 (state_dT.phase,state_pd.phase,state_ph.phase,state_ps.phase,state_Ts.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.003922/0.3438, allocations: 1.796 MB / 478.2 MB, free: 50.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001797/0.344, allocations: 163 kB / 478.4 MB, free: 50.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.344, allocations: 0 / 478.4 MB, free: 50.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.551e-05/0.344, allocations: 71.91 kB / 478.4 MB, free: 50.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008064/0.3448, allocations: 146.3 kB / 478.6 MB, free: 49.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003628/0.3452, allocations: 300.9 kB / 478.9 MB, free: 49.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.355e-05/0.3452, allocations: 98.31 kB / 479 MB, free: 49.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.489e-05/0.3453, allocations: 11.23 kB / 479 MB, free: 49.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.3453, allocations: 16.5 kB / 479 MB, free: 49.52 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3453, allocations: 0 / 479 MB, free: 49.52 MB / 366.1 MB Notification: Performance of Templates: time 0.03219/0.3775, allocations: 30.08 MB / 0.4971 GB, free: 19.64 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.SinglePhase_setState.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.167741343379021] Failed to read output from testmodel.py, exit status != 0: 0.38521674647927284 0.39318867199999996 0.31703421299999995 Calling exit ...