Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_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.001309/0.001309, allocations: 82.48 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.001399/0.001399, allocations: 170.1 kB / 22.46 MB, free: 5.359 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.36/1.36, allocations: 177.1 MB / 202.8 MB, free: 9.188 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.04816/0.04816, allocations: 7.512 MB / 266.7 MB, free: 9.668 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_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") translateModel(HelmholtzMedia.Examples.Parameter.State_ph_parameter,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 392.2 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.093e-05/2.232e-05, allocations: 2.281 kB / 392.2 MB, free: 10.42 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_ph_parameter): time 0.01872/0.01874, allocations: 15.32 MB / 407.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.02847, allocations: 8.626 MB / 416.2 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.02849, allocations: 4 kB / 416.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.02912, allocations: 223.3 kB / 416.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 3.864e-05/0.02916, allocations: 23.84 kB / 416.4 MB, free: 2.133 MB / 334.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. Notification: Performance of NFTyping.typeClassSections: time 0.01172/0.04088, allocations: 5.335 MB / 421.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.04099, allocations: 59.59 kB / 421.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.96e-05/0.04103, allocations: 4 kB / 421.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.04114, allocations: 35.78 kB / 421.8 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.602e-05/0.04118, allocations: 8 kB / 421.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.04119, allocations: 0 / 421.8 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008733/0.04993, allocations: 5.55 MB / 427.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.04994, allocations: 4 kB / 427.4 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.04997, allocations: 11.94 kB / 427.4 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004954/0.05492, allocations: 3.254 MB / 430.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.05492, allocations: 0 / 430.7 MB, free: 3.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.31e-07/0.05492, allocations: 4 kB / 430.7 MB, free: 3.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.05493, allocations: 0 / 430.7 MB, free: 3.84 MB / 350.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.001065/0.05599, allocations: 0.6392 MB / 431.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.05602, allocations: 8.625 kB / 431.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.05605, allocations: 4 kB / 431.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.639e-05/0.05615, allocations: 101.2 kB / 431.4 MB, free: 3.031 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.989e-06/0.05616, allocations: 4 kB / 431.4 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.05617, allocations: 3.938 kB / 431.4 MB, free: 3.023 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.05627, allocations: 49.69 kB / 431.5 MB, free: 2.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.05628, allocations: 3.938 kB / 431.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.462e-06/0.05629, allocations: 0 / 431.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.05629, allocations: 4 kB / 431.5 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.05632, allocations: 11.94 kB / 431.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001425/0.05646, allocations: 117.2 kB / 431.6 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.333e-05/0.05652, allocations: 34.52 kB / 431.6 MB, free: 2.766 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.05656, allocations: 20.88 kB / 431.7 MB, free: 2.742 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/0.07782, allocations: 4.405 MB / 436.1 MB, free: 14.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.07785, allocations: 34.5 kB / 436.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.673e-06/0.07785, allocations: 0 / 436.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001844/0.07803, allocations: 73.62 kB / 436.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.07808, allocations: 55.41 kB / 436.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.637e-05/0.07816, allocations: 93.86 kB / 436.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.07817, allocations: 25.7 kB / 436.3 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.849e-05/0.07822, allocations: 84.12 kB / 436.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.07826, allocations: 27.75 kB / 436.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.07829, allocations: 17.88 kB / 436.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.07844, allocations: 318.8 kB / 436.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.305e-05/0.07846, allocations: 12 kB / 436.8 MB, free: 13.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.07848, allocations: 16 kB / 436.8 MB, free: 13.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.474e-05/0.07854, allocations: 48.7 kB / 436.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.07855, allocations: 0 / 436.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.234e-05/0.07863, allocations: 57.69 kB / 436.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.07864, allocations: 6.344 kB / 436.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.07865, allocations: 0 / 436.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.07866, allocations: 0 / 436.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.07866, allocations: 4 kB / 436.9 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.486e-06/0.07867, allocations: 4.062 kB / 436.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.758e-05/0.07868, allocations: 0 / 436.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.07869, allocations: 0 / 436.9 MB, free: 13.4 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: 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.46e-05/0.07878, allocations: 117.8 kB / 437 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.07879, allocations: 3.953 kB / 437 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.07897, allocations: 175 kB / 437.2 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.209e-05/0.07905, allocations: 176.3 kB / 437.4 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.021e-05/0.07914, allocations: 188.2 kB / 437.6 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.588e-05/0.07923, allocations: 180.2 kB / 437.8 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002412/0.07947, allocations: 360.8 kB / 438.1 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.527e-05/0.07952, allocations: 112.9 kB / 438.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.07957, allocations: 101 kB / 438.3 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-05/0.07965, allocations: 180.2 kB / 438.5 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/0.07974, allocations: 180.3 kB / 438.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.04e-05/0.07982, allocations: 180.3 kB / 438.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.393e-05/0.0799, allocations: 184.2 kB / 439 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001684/0.08007, allocations: 311.7 kB / 439.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.08013, allocations: 105.2 kB / 439.4 MB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.08024, allocations: 196.1 kB / 439.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.08033, allocations: 105 kB / 439.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.786e-05/0.08042, allocations: 188.3 kB / 439.9 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.412e-05/0.08047, allocations: 104.9 kB / 440 MB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.675e-05/0.08054, allocations: 99.27 kB / 440.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.08054, allocations: 0 / 440.1 MB, free: 10.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001562/0.0821, allocations: 0.7516 MB / 440.9 MB, free: 9.266 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: 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.002963/0.08507, allocations: 1.363 MB / 442.2 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 7.713e-05/0.08514, allocations: 15.94 kB / 442.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.08515, allocations: 0 / 442.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.373e-06/0.08515, allocations: 0 / 442.2 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005796/0.08573, allocations: 0.4923 MB / 442.7 MB, free: 7.379 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.08601, allocations: 196.2 kB / 442.9 MB, free: 7.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.276e-05/0.08607, allocations: 67.16 kB / 443 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.576e-05/0.08609, allocations: 0 / 443 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.516e-05/0.0861, allocations: 12.5 kB / 443 MB, free: 7.062 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.0861, allocations: 0 / 443 MB, free: 7.062 MB / 366.1 MB Notification: Performance of Templates: time 0.1571/0.2432, allocations: 22.02 MB / 465 MB, free: 62.65 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_ph_parameter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.963006321340799] Failed to read output from testmodel.py, exit status != 0: 0.25073807686567307 0.258565897 0.20156944200000002 Calling exit ...