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.0007987/0.0007987, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008339/0.0008339, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9048/0.9048, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 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.02905/0.02905, allocations: 7.516 MB / 266.7 MB, free: 6.203 MB / 250.7 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: "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 391.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.662e-05/1.836e-05, allocations: 8.75 kB / 391.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01305/0.01307, allocations: 15.84 MB / 407.6 MB, free: 6.461 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.006275/0.01934, allocations: 8.959 MB / 416.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.749e-05/0.01944, allocations: 4 kB / 416.5 MB, free: 13.47 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.02002, allocations: 247.7 kB / 416.8 MB, free: 13.23 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.02028, allocations: 127.6 kB / 416.9 MB, free: 13.1 MB / 394.7 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.008829/0.02911, allocations: 5.891 MB / 422.8 MB, free: 7.191 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001937/0.0293, allocations: 163.1 kB / 422.9 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.292e-05/0.02934, allocations: 9.578 kB / 423 MB, free: 7.02 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.02957, allocations: 123.5 kB / 423.1 MB, free: 6.898 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.446e-05/0.02962, allocations: 39.89 kB / 423.1 MB, free: 6.859 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.02964, allocations: 8 kB / 423.1 MB, free: 6.852 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/0.03578, allocations: 6.513 MB / 429.6 MB, free: 332 kB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 2.261e-05/0.0358, allocations: 11.92 kB / 429.6 MB, free: 320 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 4.489e-05/0.03584, allocations: 35.92 kB / 429.7 MB, free: 284 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0036/0.03944, allocations: 3.343 MB / 433 MB, free: 12.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.03945, allocations: 4 kB / 433 MB, free: 12.92 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.03945, allocations: 0 / 433 MB, free: 12.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.03946, allocations: 0 / 433 MB, free: 12.92 MB / 410.7 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.001039/0.04049, allocations: 0.754 MB / 433.8 MB, free: 12.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.04053, allocations: 12.62 kB / 433.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.004e-05/0.04056, allocations: 38.56 kB / 433.8 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.741e-05/0.04065, allocations: 19.94 kB / 433.8 MB, free: 12.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.04086, allocations: 136.9 kB / 434 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.646e-06/0.04086, allocations: 3.938 kB / 434 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.082e-05/0.04087, allocations: 4 kB / 434 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.04108, allocations: 125.6 kB / 434.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.04109, allocations: 0 / 434.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.0411, allocations: 3.938 kB / 434.1 MB, free: 11.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.04111, allocations: 4 kB / 434.1 MB, free: 11.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.04132, allocations: 139.9 kB / 434.3 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.0417, allocations: 319.8 kB / 434.6 MB, free: 11.26 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.04187, allocations: 98.45 kB / 434.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.04199, allocations: 96.73 kB / 434.8 MB, free: 11.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004721/0.04672, allocations: 2.195 MB / 437 MB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.04674, allocations: 34.56 kB / 437 MB, free: 8.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.04674, allocations: 0 / 437 MB, free: 8.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004785/0.04722, allocations: 289.4 kB / 437.3 MB, free: 8.531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.04725, allocations: 51.41 kB / 437.3 MB, free: 8.469 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.523e-05/0.04735, allocations: 137.8 kB / 437.5 MB, free: 8.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.04736, allocations: 25.7 kB / 437.5 MB, free: 8.293 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.04741, allocations: 88.42 kB / 437.6 MB, free: 8.203 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.612e-05/0.04744, allocations: 47.58 kB / 437.6 MB, free: 8.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.04748, allocations: 29.66 kB / 437.6 MB, free: 8.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.993e-05/0.04757, allocations: 318.8 kB / 438 MB, free: 7.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.04768, allocations: 79.94 kB / 438 MB, free: 7.723 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.04779, allocations: 78.81 kB / 438.1 MB, free: 7.648 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.04801, allocations: 164.8 kB / 438.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.04801, allocations: 0 / 438.3 MB, free: 7.484 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002683/0.04828, allocations: 213.4 kB / 438.5 MB, free: 7.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.805e-05/0.0483, allocations: 4 kB / 438.5 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.04832, allocations: 3.984 kB / 438.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.04833, allocations: 0 / 438.5 MB, free: 7.262 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.673e-05/0.04843, allocations: 23.97 kB / 438.5 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.04844, allocations: 4 kB / 438.5 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.789e-05/0.0485, allocations: 27.88 kB / 438.5 MB, free: 7.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.515e-05/0.04851, allocations: 0 / 438.5 MB, free: 7.207 MB / 410.7 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 8.71e-05/0.0486, allocations: 118.5 kB / 438.7 MB, free: 7.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.04862, allocations: 11.89 kB / 438.7 MB, free: 7.07 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003484/0.04897, allocations: 234.2 kB / 438.9 MB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.04897, allocations: 4 kB / 438.9 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.04898, allocations: 0 / 438.9 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.04899, allocations: 0 / 438.9 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001705/0.04916, allocations: 184.6 kB / 439.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.04916, allocations: 0 / 439.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.878e-05/0.04922, allocations: 27.97 kB / 439.1 MB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.04922, allocations: 3.938 kB / 439.1 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.04923, allocations: 0 / 439.1 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.04923, allocations: 0 / 439.1 MB, free: 6.574 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.04923, allocations: 4 kB / 439.1 MB, free: 6.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002979/0.04953, allocations: 314.6 kB / 439.4 MB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.26e-05/0.04956, allocations: 19.94 kB / 439.4 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.04958, allocations: 0 / 439.4 MB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.298e-05/0.04964, allocations: 19.97 kB / 439.5 MB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.04969, allocations: 11.98 kB / 439.5 MB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.04969, allocations: 0 / 439.5 MB, free: 6.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.565e-05/0.04974, allocations: 105.7 kB / 439.6 MB, free: 6.098 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04974, allocations: 0 / 439.6 MB, free: 6.098 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001157/0.05089, allocations: 0.7435 MB / 440.3 MB, free: 5.352 MB / 410.7 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.003034/0.05393, allocations: 2.067 MB / 442.4 MB, free: 3.266 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003249/0.05425, allocations: 171.1 kB / 442.6 MB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.05425, allocations: 0 / 442.6 MB, free: 3.102 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.05437, allocations: 91.88 kB / 442.6 MB, free: 3.012 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.05464, allocations: 43.75 kB / 442.7 MB, free: 2.969 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.05655, allocations: 2.138 MB / 444.8 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.349e-05/0.0566, allocations: 88.97 kB / 444.9 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.162e-05/0.05664, allocations: 11.98 kB / 444.9 MB, free: 0.625 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.82e-05/0.05669, allocations: 32.48 kB / 445 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05669, allocations: 0 / 445 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1863/0.243, allocations: 26.89 MB / 471.9 MB, free: 87.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.559/7.802, allocations: 4.172 kB / 471.9 MB, free: 87.1 MB / 410.7 MB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport_fmu --startTime=0 --stopTime=12 --stepSize=0.0048 --timeout=50 --tolerance=1e-06 HelmholtzMedia_HelmholtzMedia_Examples_ConvergenceTest_SinglePhase_Transport.fmu > HelmholtzMedia_HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.043299566023052] Failed to read output from testmodel.py, exit status != 0: 7.900497910566628 7.909047627 7.867978347 Calling exit ...