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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001852/0.001852, allocations: 102.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 207.6 MB / 229.8 MB, free: 4.277 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.08207/0.08207, allocations: 9.139 MB / 290.8 MB, free: 7.309 MB / 238.1 MB " [Timeout remaining time 180] Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002152/0.002152, allocations: 70.08 kB / 405.8 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3015/0.3037, allocations: 50.71 MB / 456.5 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.ConvergenceTest.SinglePhase_Transport): time 0.02281/0.3265, allocations: 17.47 MB / 474 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01178/0.3383, allocations: 10.12 MB / 484.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.3384, allocations: 4 kB / 484.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008486/0.3393, allocations: 307.6 kB / 484.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.3397, allocations: 149.3 kB / 484.6 MB, free: 11.82 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/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.01834/0.3581, allocations: 5.856 MB / 490.4 MB, free: 5.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000334/0.3584, allocations: 155.2 kB / 490.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.982e-05/0.3584, allocations: 13.39 kB / 490.6 MB, free: 5.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000267/0.3587, allocations: 91.52 kB / 490.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.3588, allocations: 47.83 kB / 490.7 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.3588, allocations: 8 kB / 490.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01711/0.3759, allocations: 9.201 MB / 499.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.376, allocations: 15.92 kB / 499.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001104/0.3761, allocations: 43.8 kB / 500 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.3866, allocations: 3.499 MB / 0.4917 GB, free: 8.855 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3866, allocations: 3.938 kB / 0.4917 GB, free: 8.852 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3866, allocations: 0 / 0.4917 GB, free: 8.852 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.3866, allocations: 4 kB / 0.4917 GB, free: 8.848 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001862/0.3885, allocations: 0.8307 MB / 0.4925 GB, free: 7.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3886, allocations: 8.031 kB / 0.4925 GB, free: 7.957 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.217e-05/0.3886, allocations: 34.56 kB / 0.4925 GB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.245e-05/0.3886, allocations: 11.95 kB / 0.4925 GB, free: 7.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001682/0.3888, allocations: 186.3 kB / 0.4927 GB, free: 7.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.3888, allocations: 8 kB / 0.4927 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.3888, allocations: 4 kB / 0.4927 GB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.3892, allocations: 125.5 kB / 0.4929 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.3892, allocations: 0 / 0.4929 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3892, allocations: 0 / 0.4929 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3892, allocations: 0 / 0.4929 GB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000391/0.3896, allocations: 143.9 kB / 0.493 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.3901, allocations: 344.8 kB / 0.4933 GB, free: 7.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3904, allocations: 98.5 kB / 0.4934 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002122/0.3906, allocations: 88.8 kB / 0.4935 GB, free: 6.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.4037, allocations: 8.39 MB / 0.5017 GB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.4038, allocations: 30.56 kB / 0.5017 GB, free: 12.85 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 3.476e-06/0.4038, allocations: 0 / 0.5017 GB, free: 12.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008124/0.4046, allocations: 277.4 kB / 0.502 GB, free: 12.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.4046, allocations: 55.39 kB / 0.502 GB, free: 12.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4048, allocations: 134.2 kB / 0.5022 GB, free: 12.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4048, allocations: 25.7 kB / 0.5022 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.4048, allocations: 92.36 kB / 0.5023 GB, free: 12.24 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.693e-05/0.4049, allocations: 43.58 kB / 0.5023 GB, free: 12.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.4049, allocations: 25.7 kB / 0.5023 GB, free: 12.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002129/0.4051, allocations: 326.7 kB / 0.5027 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.4053, allocations: 79.88 kB / 0.5027 GB, free: 11.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/0.4055, allocations: 71.94 kB / 0.5028 GB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.4059, allocations: 177.2 kB / 0.503 GB, free: 11.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4059, allocations: 0 / 0.503 GB, free: 11.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004505/0.4064, allocations: 197.5 kB / 0.5032 GB, free: 11.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4064, allocations: 8 kB / 0.5032 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4064, allocations: 240 / 0.5032 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.4064, allocations: 4 kB / 0.5032 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.4066, allocations: 23.97 kB / 0.5032 GB, free: 11.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.4066, allocations: 7.922 kB / 0.5032 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4067, allocations: 11.98 kB / 0.5032 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.4067, allocations: 7.984 kB / 0.5032 GB, free: 11.25 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 0.0001061/0.4068, allocations: 117.7 kB / 0.5033 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.764e-05/0.4068, allocations: 15.91 kB / 0.5034 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005527/0.4074, allocations: 218.4 kB / 0.5036 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.4074, allocations: 4 kB / 0.5036 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4074, allocations: 0 / 0.5036 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4074, allocations: 3.938 kB / 0.5036 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002536/0.4077, allocations: 217.5 kB / 0.5038 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.4077, allocations: 4 kB / 0.5038 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.4078, allocations: 23.97 kB / 0.5038 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.4078, allocations: 0 / 0.5038 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.4078, allocations: 8 kB / 0.5038 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4078, allocations: 0 / 0.5038 GB, free: 10.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.4078, allocations: 3.984 kB / 0.5038 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.4083, allocations: 307.3 kB / 0.5041 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.127e-05/0.4084, allocations: 92.98 kB / 0.5042 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.4084, allocations: 11.94 kB / 0.5042 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.4086, allocations: 11.98 kB / 0.5042 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.4086, allocations: 11.92 kB / 0.5042 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.4087, allocations: 4 kB / 0.5042 GB, free: 10.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.692e-05/0.4087, allocations: 107.2 kB / 0.5043 GB, free: 10.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4087, allocations: 0 / 0.5043 GB, free: 10.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001984/0.4107, allocations: 0.7358 MB / 0.5051 GB, free: 9.273 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.003925/0.4146, allocations: 1.974 MB / 0.507 GB, free: 7.277 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005261/0.4152, allocations: 159.9 kB / 0.5071 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4152, allocations: 0 / 0.5071 GB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002216/0.4154, allocations: 87.88 kB / 0.5072 GB, free: 7.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.4158, allocations: 40.11 kB / 0.5073 GB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4171, allocations: 0.6115 MB / 0.5079 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.4175, allocations: 0.7041 MB / 0.5085 GB, free: 5.617 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.4175, allocations: 7.938 kB / 0.5085 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.728e-05/0.4176, allocations: 27.42 kB / 0.5086 GB, free: 5.582 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.4176, allocations: 3.938 kB / 0.5086 GB, free: 5.578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08467/0.5022, allocations: 25.82 MB / 0.5338 GB, free: 11.75 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/12.07, allocations: 11.94 kB / 0.5338 GB, free: 11.73 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 os._exit(0), Time elapsed: 14.543457420077175] Failed to read output from testmodel.py, exit status != 0: 12.163129707798362 12.177422731 11.787773935 Calling exit ...