Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.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.001375/0.001375, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001655/0.001655, allocations: 220.8 kB / 22.26 MB, free: 5.125 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.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.05231/0.05231, allocations: 9.137 MB / 321.6 MB, free: 10.45 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.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") translateModel(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 71.89 kB / 447.1 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1179, allocations: 54.94 MB / 0.4902 GB, free: 9.535 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02361/0.1415, allocations: 17.57 MB / 0.5074 GB, free: 7.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2346/0.3761, allocations: 10.14 MB / 0.5173 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.3762, allocations: 3.688 kB / 0.5173 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007122/0.3769, allocations: 306.6 kB / 0.5176 GB, free: 7.391 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003418/0.3773, allocations: 146.1 kB / 0.5177 GB, free: 7.391 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia main/Interfaces/PartialHelmholtzMedium/Transport/thermalConductivity_dilute.mo:2:1-75:31:writable] Warning: Pure function 'HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.Medium.Transport.thermalConductivity_dilute' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.01414/0.3914, allocations: 5.923 MB / 0.5235 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.3917, allocations: 154.8 kB / 0.5237 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.11e-05/0.3918, allocations: 5.719 kB / 0.5237 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002649/0.3921, allocations: 97.56 kB / 0.5238 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.371e-05/0.3922, allocations: 50.77 kB / 0.5238 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3922, allocations: 5.062 kB / 0.5238 GB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01758/0.4098, allocations: 9.561 MB / 0.5332 GB, free: 6.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.4098, allocations: 9.562 kB / 0.5332 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.41, allocations: 55.48 kB / 0.5332 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01033/0.4203, allocations: 3.521 MB / 0.5367 GB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4203, allocations: 1.062 kB / 0.5367 GB, free: 5.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4203, allocations: 0 / 0.5367 GB, free: 5.043 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.4203, allocations: 0 / 0.5367 GB, free: 5.043 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.002351/0.4227, allocations: 0.7607 MB / 0.5374 GB, free: 4.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.4227, allocations: 9.75 kB / 0.5374 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000156/0.4229, allocations: 27.11 kB / 0.5374 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.4231, allocations: 132.5 kB / 0.5376 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.4231, allocations: 5.109 kB / 0.5376 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.4231, allocations: 6.719 kB / 0.5376 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.4234, allocations: 121.2 kB / 0.5377 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4234, allocations: 0 / 0.5377 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.4234, allocations: 1.062 kB / 0.5377 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4234, allocations: 1.156 kB / 0.5377 GB, free: 4.234 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003636/0.4238, allocations: 150.9 kB / 0.5378 GB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.4242, allocations: 324.5 kB / 0.5381 GB, free: 3.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.4244, allocations: 104.1 kB / 0.5382 GB, free: 3.891 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001882/0.4246, allocations: 86.52 kB / 0.5383 GB, free: 3.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008803/0.4334, allocations: 2.189 MB / 0.5405 GB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.4335, allocations: 39.62 kB / 0.5405 GB, free: 3.141 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 2.575e-06/0.4335, allocations: 0 / 0.5405 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008297/0.4343, allocations: 294 kB / 0.5408 GB, free: 3.047 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.4343, allocations: 56.77 kB / 0.5408 GB, free: 2.98 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.283e-05/0.4344, allocations: 134.3 kB / 0.541 GB, free: 2.875 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.4344, allocations: 28.52 kB / 0.541 GB, free: 2.844 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.4345, allocations: 91.23 kB / 0.5411 GB, free: 2.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.772e-05/0.4345, allocations: 41.7 kB / 0.5411 GB, free: 2.727 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.4346, allocations: 28.08 kB / 0.5412 GB, free: 2.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.4346, allocations: 322.8 kB / 0.5415 GB, free: 2.387 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.4348, allocations: 72.14 kB / 0.5415 GB, free: 2.375 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001785/0.435, allocations: 81.62 kB / 0.5416 GB, free: 2.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000352/0.4353, allocations: 169.2 kB / 0.5418 GB, free: 2.316 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4353, allocations: 0 / 0.5418 GB, free: 2.316 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004128/0.4357, allocations: 205.8 kB / 0.542 GB, free: 2.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.4357, allocations: 5.281 kB / 0.542 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4358, allocations: 0 / 0.542 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4358, allocations: 0.7812 kB / 0.542 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4359, allocations: 23.88 kB / 0.542 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.4359, allocations: 0 / 0.542 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.4361, allocations: 24.94 kB / 0.542 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.427e-05/0.4361, allocations: 2.438 kB / 0.542 GB, free: 2.223 MB / 382.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 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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 6.738e-05/0.4361, allocations: 132.8 kB / 0.5421 GB, free: 2.094 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/0.4362, allocations: 14.22 kB / 0.5422 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005197/0.4367, allocations: 228.6 kB / 0.5424 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.4367, allocations: 0.9844 kB / 0.5424 GB, free: 2.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.4367, allocations: 5.781 kB / 0.5424 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4367, allocations: 0 / 0.5424 GB, free: 2.008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.4369, allocations: 199.7 kB / 0.5426 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4369, allocations: 1.25 kB / 0.5426 GB, free: 1.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/0.437, allocations: 22.52 kB / 0.5426 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.437, allocations: 1.312 kB / 0.5426 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.437, allocations: 6.234 kB / 0.5426 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.437, allocations: 1.375 kB / 0.5426 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.4371, allocations: 1.875 kB / 0.5426 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.4375, allocations: 305.6 kB / 0.5429 GB, free: 1.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.81e-05/0.4376, allocations: 19.73 kB / 0.5429 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.294e-05/0.4376, allocations: 5.094 kB / 0.5429 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.4377, allocations: 17.47 kB / 0.5429 GB, free: 1.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/0.4378, allocations: 7.234 kB / 0.5429 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-06/0.4378, allocations: 4.953 kB / 0.5429 GB, free: 1.609 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.415e-05/0.4378, allocations: 103 kB / 0.543 GB, free: 1.523 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4378, allocations: 0 / 0.543 GB, free: 1.523 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003244/0.4411, allocations: 0.7423 MB / 0.5438 GB, free: 1.309 MB / 382.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: 1 (state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.004266/0.4453, allocations: 1.249 MB / 0.545 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005543/0.4459, allocations: 170.6 kB / 0.5452 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4459, allocations: 0 / 0.5452 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001954/0.4461, allocations: 89.97 kB / 0.5452 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.4466, allocations: 43.53 kB / 0.5453 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.4471, allocations: 274.2 kB / 0.5455 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.4473, allocations: 0.7009 MB / 0.5462 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.6e-05/0.4474, allocations: 9.375 kB / 0.5462 GB, free: 15.79 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.562e-05/0.4474, allocations: 13.06 kB / 0.5462 GB, free: 15.78 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4474, allocations: 0 / 0.5462 GB, free: 15.78 MB / 398.1 MB Notification: Performance of Templates: time 0.03803/0.4854, allocations: 23.96 MB / 0.5696 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.makefile [Timeout 660] (rm -f HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.sim & ./HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport -abortSlowSimulation -alarm=480 -lv LOG_STATS > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.379623964894563] Failed to read output from testmodel.py, exit status != 0: 0.49361194111406803 0.508888874 0.085300524 Calling exit ...