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.001711/0.001711, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002207/0.002207, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.362/1.362, allocations: 230.6 MB / 256 MB, free: 7.789 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.04953/0.04953, allocations: 9.138 MB / 321.6 MB, free: 10.21 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: "" <> 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 0.001967/0.001967, allocations: 67.91 kB / 446.5 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09922/0.1012, allocations: 54.94 MB / 0.4897 GB, free: 9.531 MB / 366.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.01939/0.1206, allocations: 15.86 MB / 0.5052 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01002/0.1306, allocations: 8.955 MB / 0.5139 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.903e-05/0.1307, allocations: 0 / 0.5139 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006544/0.1314, allocations: 239.7 kB / 0.5142 GB, free: 400 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003424/0.1317, allocations: 131.7 kB / 0.5143 GB, free: 268 kB / 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.2226/0.3543, allocations: 5.796 MB / 0.5199 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002477/0.3546, allocations: 158.6 kB / 0.5201 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.468e-05/0.3546, allocations: 5.734 kB / 0.5201 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.3549, allocations: 94.08 kB / 0.5202 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.322e-05/0.355, allocations: 47.05 kB / 0.5202 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.73e-05/0.355, allocations: 9.047 kB / 0.5202 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/0.3684, allocations: 6.466 MB / 0.5266 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.269e-05/0.3684, allocations: 16.06 kB / 0.5266 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.901e-05/0.3685, allocations: 40.98 kB / 0.5266 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006671/0.3752, allocations: 2.89 MB / 0.5294 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3752, allocations: 0.7656 kB / 0.5294 GB, free: 7.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3752, allocations: 1.062 kB / 0.5294 GB, free: 7.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.161e-06/0.3752, allocations: 0 / 0.5294 GB, free: 7.199 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.001795/0.377, allocations: 0.754 MB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.3771, allocations: 9.406 kB / 0.5302 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.806e-05/0.3771, allocations: 36.19 kB / 0.5302 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.3773, allocations: 32.06 kB / 0.5303 GB, free: 6.605 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.3775, allocations: 132.2 kB / 0.5304 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3775, allocations: 5.844 kB / 0.5304 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.3775, allocations: 3.797 kB / 0.5304 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3778, allocations: 115.6 kB / 0.5305 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3778, allocations: 4 kB / 0.5305 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3778, allocations: 0 / 0.5305 GB, free: 6.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3778, allocations: 5.188 kB / 0.5305 GB, free: 6.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003632/0.3782, allocations: 147.4 kB / 0.5306 GB, free: 6.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003791/0.3786, allocations: 313.6 kB / 0.5309 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.3788, allocations: 107.9 kB / 0.531 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001956/0.379, allocations: 85.25 kB / 0.5311 GB, free: 6.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008275/0.3873, allocations: 2.201 MB / 0.5333 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.3873, allocations: 35.12 kB / 0.5333 GB, free: 5.836 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3873, allocations: 2.906 kB / 0.5333 GB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.000721/0.388, allocations: 298.2 kB / 0.5336 GB, free: 5.734 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.538e-05/0.388, allocations: 52.69 kB / 0.5336 GB, free: 5.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.078e-05/0.3881, allocations: 137.5 kB / 0.5338 GB, free: 5.566 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.3881, allocations: 26.83 kB / 0.5338 GB, free: 5.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.169e-05/0.3882, allocations: 94.2 kB / 0.5339 GB, free: 5.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.3882, allocations: 45.94 kB / 0.5339 GB, free: 5.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.134e-05/0.3882, allocations: 23.77 kB / 0.534 GB, free: 5.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.3883, allocations: 325.3 kB / 0.5343 GB, free: 5.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001884/0.3885, allocations: 75.55 kB / 0.5343 GB, free: 5.066 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3887, allocations: 75.16 kB / 0.5344 GB, free: 5.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.389, allocations: 171.6 kB / 0.5346 GB, free: 5.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.389, allocations: 0 / 0.5346 GB, free: 5.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004267/0.3895, allocations: 210.8 kB / 0.5348 GB, free: 4.934 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.3895, allocations: 4.5 kB / 0.5348 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3895, allocations: 1.219 kB / 0.5348 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3895, allocations: 3.984 kB / 0.5348 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.3896, allocations: 23.86 kB / 0.5348 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3896, allocations: 0 / 0.5348 GB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3898, allocations: 20.91 kB / 0.5348 GB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.3898, allocations: 3.109 kB / 0.5348 GB, free: 4.91 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.413e-05/0.3898, allocations: 120.5 kB / 0.535 GB, free: 4.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.3899, allocations: 16.47 kB / 0.535 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004859/0.3903, allocations: 227.3 kB / 0.5352 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.3904, allocations: 1.469 kB / 0.5352 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3904, allocations: 0 / 0.5352 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3904, allocations: 0 / 0.5352 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001588/0.3905, allocations: 182.9 kB / 0.5354 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.846e-06/0.3905, allocations: 4.875 kB / 0.5354 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001206/0.3906, allocations: 30.59 kB / 0.5354 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3906, allocations: 5.188 kB / 0.5354 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3907, allocations: 6.219 kB / 0.5354 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3907, allocations: 0 / 0.5354 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3907, allocations: 0 / 0.5354 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.3911, allocations: 301.8 kB / 0.5357 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.232e-05/0.3911, allocations: 23.84 kB / 0.5357 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.3912, allocations: 9.328 kB / 0.5357 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.3913, allocations: 17.12 kB / 0.5357 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.217e-05/0.3913, allocations: 10.2 kB / 0.5357 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.3913, allocations: 2.094 kB / 0.5358 GB, free: 4.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.32e-05/0.3914, allocations: 105.1 kB / 0.5359 GB, free: 4.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3914, allocations: 1.188 kB / 0.5359 GB, free: 4.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002285/0.3937, allocations: 0.737 MB / 0.5366 GB, free: 4.055 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.003607/0.3973, allocations: 1.99 MB / 0.5385 GB, free: 3.004 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004615/0.3977, allocations: 169.7 kB / 0.5387 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3977, allocations: 0 / 0.5387 GB, free: 2.969 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.398, allocations: 86.98 kB / 0.5388 GB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004045/0.3984, allocations: 46.77 kB / 0.5388 GB, free: 2.934 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.4008, allocations: 2.15 MB / 0.5409 GB, free: 1.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.013e-05/0.4009, allocations: 90.34 kB / 0.541 GB, free: 1.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.518e-05/0.4009, allocations: 11.75 kB / 0.541 GB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.181e-05/0.401, allocations: 28.8 kB / 0.541 GB, free: 1.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.401, allocations: 3.656 kB / 0.541 GB, free: 1.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06146/0.4624, allocations: 26.66 MB / 0.5671 GB, free: 11.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.88/12.34, allocations: 4.062 kB / 0.5671 GB, free: 11.55 MB / 414.1 MB " [Timeout remaining time 648] (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: 15.535928756929934] Failed to read output from testmodel.py, exit status != 0: 12.459487470332533 12.481268053 12.101975558 Calling exit ...