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.0008309/0.0008309, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006919/0.006919, allocations: 170 kB / 16.26 MB, free: 6.613 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.281/1.281, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04355/0.04355, allocations: 9.073 MB / 279.8 MB, free: 12.14 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.0004729/0.000473, allocations: 16 kB / 339.8 MB, free: 25.52 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08638/0.08687, allocations: 49.18 MB / 389 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01649/0.1034, allocations: 16.64 MB / 405.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001841/0.1053, allocations: 1.901 MB / 407.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.1053, allocations: 0 / 407.6 MB, free: 5.676 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005755/0.1059, allocations: 248.1 kB / 407.8 MB, free: 5.434 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 2.888e-05/0.106, allocations: 15.91 kB / 407.8 MB, free: 5.418 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00611/0.1121, allocations: 2.419 MB / 410.2 MB, free: 2.996 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1122, allocations: 51.73 kB / 410.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.1123, allocations: 4 kB / 410.3 MB, free: 2.941 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.1124, allocations: 35.8 kB / 410.3 MB, free: 2.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.1124, allocations: 8 kB / 410.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.846e-06/0.1124, allocations: 0 / 410.3 MB, free: 2.898 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006978/0.1194, allocations: 4.603 MB / 414.9 MB, free: 14.29 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.385e-05/0.1194, allocations: 3.938 kB / 414.9 MB, free: 14.28 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.1195, allocations: 37.64 kB / 415 MB, free: 14.24 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002994/0.1225, allocations: 1.886 MB / 416.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.1225, allocations: 0 / 416.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1225, allocations: 0 / 416.9 MB, free: 12.35 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1225, allocations: 0 / 416.9 MB, free: 12.35 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.0007526/0.1233, allocations: 0.503 MB / 417.4 MB, free: 11.8 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.1234, allocations: 12.03 kB / 417.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.938e-05/0.1234, allocations: 30.56 kB / 417.4 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1234, allocations: 4 kB / 417.4 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1236, allocations: 170.9 kB / 417.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.1236, allocations: 0 / 417.6 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.1236, allocations: 3.984 kB / 417.6 MB, free: 11.53 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.1237, allocations: 41.64 kB / 417.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-06/0.1237, allocations: 0 / 417.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.1237, allocations: 4 kB / 417.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1238, allocations: 0 / 417.6 MB, free: 11.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.1238, allocations: 23.92 kB / 417.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001703/0.124, allocations: 161.6 kB / 417.8 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.957e-05/0.124, allocations: 30.61 kB / 417.8 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.438e-05/0.1241, allocations: 16.86 kB / 417.9 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2518/0.3759, allocations: 18.93 MB / 436.8 MB, free: 38.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.3759, allocations: 37.83 kB / 436.8 MB, free: 38.05 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.595e-06/0.376, allocations: 0 / 436.8 MB, free: 38.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.000225/0.3762, allocations: 72.27 kB / 436.9 MB, free: 38.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3762, allocations: 54.22 kB / 437 MB, free: 37.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.242e-05/0.3763, allocations: 96.22 kB / 437 MB, free: 37.86 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.963e-06/0.3763, allocations: 25.7 kB / 437.1 MB, free: 37.83 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.871e-05/0.3763, allocations: 87.52 kB / 437.2 MB, free: 37.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.074e-05/0.3764, allocations: 24.7 kB / 437.2 MB, free: 37.74 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.3764, allocations: 15.48 kB / 437.2 MB, free: 37.72 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.356e-05/0.3765, allocations: 320.8 kB / 437.5 MB, free: 37.41 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.151e-05/0.3765, allocations: 13.47 kB / 437.5 MB, free: 37.41 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.899e-05/0.3765, allocations: 9.719 kB / 437.5 MB, free: 37.41 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.105e-05/0.3766, allocations: 38.11 kB / 437.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3766, allocations: 0.6562 kB / 437.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.061e-05/0.3767, allocations: 60.88 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.3767, allocations: 5.5 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3767, allocations: 3.312 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3767, allocations: 0.7031 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.864e-06/0.3767, allocations: 1.031 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.3767, allocations: 0 / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.114e-05/0.3768, allocations: 1.844 kB / 437.6 MB, free: 37.37 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3768, allocations: 4.844 kB / 437.6 MB, free: 37.37 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 5.781e-05/0.3768, allocations: 111 kB / 437.8 MB, free: 37.26 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.3769, allocations: 8.469 kB / 437.8 MB, free: 37.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001236/0.377, allocations: 172.1 kB / 437.9 MB, free: 37.09 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.354e-05/0.377, allocations: 178.5 kB / 438.1 MB, free: 36.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.459e-05/0.3771, allocations: 184.8 kB / 438.3 MB, free: 36.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.143e-05/0.3771, allocations: 183.1 kB / 438.5 MB, free: 36.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.3773, allocations: 410.2 kB / 438.9 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/0.3773, allocations: 106.6 kB / 439 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.789e-05/0.3773, allocations: 102.9 kB / 439.1 MB, free: 35.89 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.401e-05/0.3774, allocations: 184.8 kB / 439.3 MB, free: 35.71 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.59e-05/0.3774, allocations: 183.3 kB / 439.4 MB, free: 35.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.027e-05/0.3774, allocations: 180.2 kB / 439.6 MB, free: 35.35 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.229e-05/0.3775, allocations: 182 kB / 439.8 MB, free: 35.16 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.142e-05/0.3776, allocations: 313.2 kB / 440.1 MB, free: 34.85 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.3776, allocations: 191.2 kB / 440.3 MB, free: 34.64 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.3777, allocations: 184.4 kB / 440.5 MB, free: 34.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.135e-05/0.3777, allocations: 107.3 kB / 440.6 MB, free: 34.35 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.3778, allocations: 178 kB / 440.7 MB, free: 34.17 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.3778, allocations: 112.5 kB / 440.8 MB, free: 34.06 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.857e-05/0.3779, allocations: 104.7 kB / 440.9 MB, free: 33.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3779, allocations: 0 / 440.9 MB, free: 33.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001487/0.3794, allocations: 390.1 kB / 441.3 MB, free: 33.98 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.00194/0.3813, allocations: 1.358 MB / 442.7 MB, free: 33.11 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.06e-05/0.3814, allocations: 25.52 kB / 442.7 MB, free: 33.1 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3814, allocations: 0 / 442.7 MB, free: 33.1 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3814, allocations: 1.156 kB / 442.7 MB, free: 33.1 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.3819, allocations: 0.5558 MB / 443.3 MB, free: 32.58 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.383, allocations: 1.545 MB / 444.8 MB, free: 31.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3832, allocations: 0.6762 MB / 445.5 MB, free: 30.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.617e-05/0.3832, allocations: 2.938 kB / 445.5 MB, free: 30.52 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.436e-05/0.3832, allocations: 9.391 kB / 445.5 MB, free: 30.51 MB / 318.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3832, allocations: 4.031 kB / 445.5 MB, free: 30.51 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03754/0.4208, allocations: 15.27 MB / 460.8 MB, free: 21.48 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/0.421, allocations: 203.9 kB / 461 MB, free: 21.23 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/2.92, allocations: 7.656 kB / 461 MB, free: 21.23 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)