Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) 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.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(HelmholtzMedia.Examples.Parameter.State_Ts_parameter,fileNamePrefix="HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001952/0.001953, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.1 MB / 222.1 MB, free: 4.711 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04535/0.04535, allocations: 9.081 MB / 278.5 MB, free: 12.33 MB / 238.1 MB 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.001379/0.001379, allocations: 64.47 kB / 337.6 MB, free: 25.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09619/0.09758, allocations: 48.16 MB / 385.8 MB, free: 9.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01956/0.1172, allocations: 16.88 MB / 402.7 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002241/0.1195, allocations: 1.865 MB / 404.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.1195, allocations: 0 / 404.5 MB, free: 6.648 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.1203, allocations: 260.1 kB / 404.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/0.1203, allocations: 23.84 kB / 404.8 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007103/0.1274, allocations: 2.556 MB / 407.4 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.1275, allocations: 55.73 kB / 407.4 MB, free: 3.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.1276, allocations: 3.984 kB / 407.4 MB, free: 3.754 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.026e-05/0.1277, allocations: 27.81 kB / 407.5 MB, free: 3.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.242e-05/0.1277, allocations: 12 kB / 407.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1278, allocations: 0 / 407.5 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007491/0.1353, allocations: 4.947 MB / 412.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.797e-05/0.1353, allocations: 3.938 kB / 412.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.684e-05/0.1354, allocations: 15.94 kB / 412.4 MB, free: 14.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.1396, allocations: 1.988 MB / 414.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1396, allocations: 0 / 414.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1396, allocations: 4 kB / 414.4 MB, free: 12.74 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.1396, allocations: 0 / 414.4 MB, free: 12.74 MB / 318.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.0008707/0.1405, allocations: 0.503 MB / 414.9 MB, free: 12.19 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1406, allocations: 8.031 kB / 414.9 MB, free: 12.18 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.1406, allocations: 34.56 kB / 415 MB, free: 12.14 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.1407, allocations: 3.906 kB / 415 MB, free: 12.13 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.1408, allocations: 163 kB / 415.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.695e-06/0.1408, allocations: 0 / 415.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1408, allocations: 4 kB / 415.1 MB, free: 11.93 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000101/0.1409, allocations: 49.62 kB / 415.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1409, allocations: 0 / 415.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.141, allocations: 0 / 415.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.141, allocations: 0 / 415.2 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.595e-05/0.141, allocations: 12 kB / 415.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.1412, allocations: 165.6 kB / 415.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.397e-05/0.1412, allocations: 34.56 kB / 415.4 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.217e-05/0.1413, allocations: 12.89 kB / 415.4 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1862/0.3275, allocations: 19.35 MB / 434.8 MB, free: 39.44 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.3276, allocations: 34.25 kB / 434.8 MB, free: 39.4 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.3276, allocations: 3.875 kB / 434.8 MB, free: 39.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002047/0.3278, allocations: 81.69 kB / 434.9 MB, free: 39.37 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.147e-05/0.3278, allocations: 56.42 kB / 434.9 MB, free: 39.31 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.831e-05/0.3279, allocations: 93.84 kB / 435 MB, free: 39.21 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 7.033e-06/0.3279, allocations: 25.7 kB / 435 MB, free: 39.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.492e-05/0.3279, allocations: 85.14 kB / 435.1 MB, free: 39.1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.3279, allocations: 20.84 kB / 435.1 MB, free: 39.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.328, allocations: 21.22 kB / 435.2 MB, free: 39.08 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.638e-05/0.328, allocations: 316.9 kB / 435.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.304e-05/0.3281, allocations: 13.27 kB / 435.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.914e-05/0.3281, allocations: 10.36 kB / 435.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.3281, allocations: 38.12 kB / 435.5 MB, free: 38.76 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3281, allocations: 2.344 kB / 435.5 MB, free: 38.76 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.77e-05/0.3282, allocations: 62.98 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3282, allocations: 7.188 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3282, allocations: 1.812 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3283, allocations: 0 / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-06/0.3283, allocations: 2.719 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.3283, allocations: 1.125 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.904e-05/0.3283, allocations: 3.234 kB / 435.6 MB, free: 38.72 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.3283, allocations: 5.062 kB / 435.6 MB, free: 38.72 MB / 318.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 4.639e-05/0.3284, allocations: 115.3 kB / 435.7 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-06/0.3284, allocations: 1.812 kB / 435.7 MB, free: 38.61 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.87e-05/0.3285, allocations: 175.8 kB / 435.9 MB, free: 38.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.292e-05/0.3285, allocations: 181.5 kB / 436.1 MB, free: 38.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/0.3285, allocations: 181.4 kB / 436.3 MB, free: 38.07 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.3286, allocations: 178 kB / 436.4 MB, free: 37.89 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.3287, allocations: 418 kB / 436.8 MB, free: 37.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.566e-05/0.3287, allocations: 109.7 kB / 436.9 MB, free: 37.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.42e-05/0.3287, allocations: 108.6 kB / 437.1 MB, free: 37.24 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.23e-05/0.3288, allocations: 182.1 kB / 437.2 MB, free: 37.06 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.3288, allocations: 182.1 kB / 437.4 MB, free: 36.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.182e-05/0.3288, allocations: 177.9 kB / 437.6 MB, free: 36.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-05/0.3289, allocations: 179.9 kB / 437.8 MB, free: 36.52 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.602e-05/0.3289, allocations: 316 kB / 438.1 MB, free: 36.2 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.722e-05/0.329, allocations: 187.5 kB / 438.3 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.185e-05/0.329, allocations: 183.4 kB / 438.4 MB, free: 35.81 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.3291, allocations: 102.7 kB / 438.5 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.51e-05/0.3291, allocations: 187.9 kB / 438.7 MB, free: 35.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3291, allocations: 102.9 kB / 438.8 MB, free: 35.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.505e-05/0.3292, allocations: 97.09 kB / 438.9 MB, free: 35.34 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3292, allocations: 0 / 438.9 MB, free: 35.34 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001046/0.3302, allocations: 388.1 kB / 439.3 MB, free: 35.34 MB / 318.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.001785/0.332, allocations: 1.362 MB / 440.7 MB, free: 34.46 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.902e-05/0.3321, allocations: 23.81 kB / 440.7 MB, free: 34.45 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.3321, allocations: 5.266 kB / 440.7 MB, free: 34.45 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.3321, allocations: 3.938 kB / 440.7 MB, free: 34.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.3326, allocations: 494.5 kB / 441.2 MB, free: 33.99 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.3336, allocations: 1.53 MB / 442.7 MB, free: 32.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.787e-05/0.3337, allocations: 0.6768 MB / 443.4 MB, free: 31.91 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.333e-05/0.3338, allocations: 5.078 kB / 443.4 MB, free: 31.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.196e-05/0.3338, allocations: 12.94 kB / 443.4 MB, free: 31.9 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3338, allocations: 4.656 kB / 443.4 MB, free: 31.9 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.3706, allocations: 15.38 MB / 458.8 MB, free: 22.53 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001526/0.3708, allocations: 197.6 kB / 459 MB, free: 22.28 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.329/2.7, allocations: 4 kB / 459 MB, free: 22.28 MB / 318.1 MB (rm -f HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; mkfifo HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe ; head -c 1048576 < HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe >> ../files/HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-07 HelmholtzMedia_HelmholtzMedia_Examples_Parameter_State_Ts_parameter.fmu > HelmholtzMedia_HelmholtzMedia.Examples.Parameter.State_Ts_parameter.pipe 2>&1)