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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001085/0.001085, allocations: 194.4 kB / 16.14 MB, free: 6.707 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.332/1.332, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04498/0.04498, allocations: 9.081 MB / 278.4 MB, free: 12.41 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.001405/0.001405, allocations: 63.89 kB / 337.4 MB, free: 25.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08497/0.08639, allocations: 48.17 MB / 385.6 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01894/0.1054, allocations: 17.14 MB / 402.8 MB, free: 8.359 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1074, allocations: 1.916 MB / 404.7 MB, free: 6.438 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.145e-05/0.1074, allocations: 8 kB / 404.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006007/0.1081, allocations: 240.1 kB / 404.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.3e-05/0.1081, allocations: 23.84 kB / 404.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005719/0.1138, allocations: 2.392 MB / 407.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.1139, allocations: 55.73 kB / 407.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.613e-05/0.114, allocations: 0 / 407.4 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.794e-05/0.1141, allocations: 31.8 kB / 407.4 MB, free: 3.688 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.533e-05/0.1141, allocations: 11.94 kB / 407.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.939e-06/0.1141, allocations: 0 / 407.4 MB, free: 3.676 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006609/0.1208, allocations: 4.603 MB / 412 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.242e-05/0.1208, allocations: 11.98 kB / 412 MB, free: 15.05 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.925e-05/0.1208, allocations: 11.94 kB / 412.1 MB, free: 15.04 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.124, allocations: 1.886 MB / 413.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.124, allocations: 0 / 413.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.61e-07/0.124, allocations: 0 / 413.9 MB, free: 13.14 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.1241, allocations: 4 kB / 413.9 MB, free: 13.14 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.0009225/0.125, allocations: 0.4991 MB / 414.4 MB, free: 12.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.125, allocations: 12.03 kB / 414.5 MB, free: 12.58 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.1251, allocations: 30.56 kB / 414.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.723e-05/0.1251, allocations: 3.906 kB / 414.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.1253, allocations: 174.9 kB / 414.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.1253, allocations: 0 / 414.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.1253, allocations: 0 / 414.7 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.1254, allocations: 37.7 kB / 414.7 MB, free: 12.29 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1254, allocations: 7.984 kB / 414.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.1254, allocations: 0 / 414.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1255, allocations: 0 / 414.7 MB, free: 12.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.65e-05/0.1255, allocations: 23.86 kB / 414.7 MB, free: 12.25 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.1257, allocations: 161.6 kB / 414.9 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.1257, allocations: 34.52 kB / 414.9 MB, free: 12 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.474e-05/0.1258, allocations: 20.89 kB / 414.9 MB, free: 11.98 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1928/0.3185, allocations: 19.35 MB / 434.3 MB, free: 39.74 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.3186, allocations: 35.42 kB / 434.3 MB, free: 39.7 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.3186, allocations: 0 / 434.3 MB, free: 39.7 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002189/0.3189, allocations: 76.36 kB / 434.4 MB, free: 39.67 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.565e-05/0.3189, allocations: 54.72 kB / 434.4 MB, free: 39.61 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.165e-05/0.3189, allocations: 92.55 kB / 434.5 MB, free: 39.51 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.556e-06/0.319, allocations: 27.83 kB / 434.6 MB, free: 39.48 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.79e-05/0.319, allocations: 84.28 kB / 434.6 MB, free: 39.39 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.133e-05/0.319, allocations: 17.95 kB / 434.7 MB, free: 39.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.3191, allocations: 17.08 kB / 434.7 MB, free: 39.38 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.24e-05/0.3191, allocations: 322.1 kB / 435 MB, free: 39.06 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.3192, allocations: 9.578 kB / 435 MB, free: 39.06 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.3192, allocations: 10.83 kB / 435 MB, free: 39.06 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.856e-05/0.3192, allocations: 40.03 kB / 435.1 MB, free: 39.05 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3192, allocations: 1.062 kB / 435.1 MB, free: 39.05 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.456e-05/0.3193, allocations: 64 kB / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.3193, allocations: 5.531 kB / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3194, allocations: 2.062 kB / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3194, allocations: 0 / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.61e-07/0.3194, allocations: 0 / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3194, allocations: 3.656 kB / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.3194, allocations: 0 / 435.1 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.3194, allocations: 3.391 kB / 435.1 MB, free: 39.02 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.371e-05/0.3195, allocations: 115.7 kB / 435.2 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.618e-06/0.3195, allocations: 5.25 kB / 435.3 MB, free: 38.9 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001256/0.3196, allocations: 175.1 kB / 435.4 MB, free: 38.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.817e-05/0.3197, allocations: 184.2 kB / 435.6 MB, free: 38.55 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/0.3197, allocations: 185.2 kB / 435.8 MB, free: 38.37 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.432e-05/0.3197, allocations: 180.7 kB / 436 MB, free: 38.19 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.3199, allocations: 417 kB / 436.4 MB, free: 37.74 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/0.3199, allocations: 102.4 kB / 436.5 MB, free: 37.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.421e-05/0.3199, allocations: 107.5 kB / 436.6 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.058e-05/0.32, allocations: 178 kB / 436.7 MB, free: 37.35 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.32, allocations: 186.8 kB / 436.9 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.637e-05/0.32, allocations: 182.5 kB / 437.1 MB, free: 36.98 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.433e-05/0.3201, allocations: 178.6 kB / 437.3 MB, free: 36.8 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.131e-05/0.3201, allocations: 313.6 kB / 437.6 MB, free: 36.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.3202, allocations: 182.8 kB / 437.8 MB, free: 36.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.3202, allocations: 188.4 kB / 437.9 MB, free: 36.1 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.505e-05/0.3203, allocations: 103 kB / 438 MB, free: 36 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3203, allocations: 184.7 kB / 438.2 MB, free: 35.81 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.3204, allocations: 105.4 kB / 438.3 MB, free: 35.71 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.617e-05/0.3204, allocations: 98.02 kB / 438.4 MB, free: 35.63 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3204, allocations: 0 / 438.4 MB, free: 35.63 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3217, allocations: 389.2 kB / 438.8 MB, free: 35.63 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.001999/0.3237, allocations: 1.363 MB / 440.2 MB, free: 34.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 8.173e-05/0.3238, allocations: 28.75 kB / 440.2 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3238, allocations: 0 / 440.2 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.3238, allocations: 0 / 440.2 MB, free: 34.75 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.3243, allocations: 0.5507 MB / 440.8 MB, free: 34.23 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.3254, allocations: 1.531 MB / 442.3 MB, free: 32.86 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001434/0.3256, allocations: 0.6805 MB / 443 MB, free: 32.16 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.956e-05/0.3256, allocations: 3.656 kB / 443 MB, free: 32.16 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.623e-05/0.3256, allocations: 14.89 kB / 443 MB, free: 32.15 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3256, allocations: 4.031 kB / 443 MB, free: 32.14 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03686/0.3625, allocations: 15.33 MB / 458.3 MB, free: 22.91 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.3627, allocations: 201.4 kB / 458.5 MB, free: 22.65 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/2.951, allocations: 3.938 kB / 458.5 MB, free: 22.65 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)