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.0009423/0.0009422, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.0009583/0.0009584, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.286/1.286, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04251/0.04251, allocations: 9.064 MB / 279.4 MB, free: 12.26 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.0004756/0.0004757, allocations: 23.92 kB / 339.2 MB, free: 25.92 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08452/0.085, allocations: 49.18 MB / 388.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01579/0.1008, allocations: 14.13 MB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1026, allocations: 1.591 MB / 404.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.1026, allocations: 0 / 404.1 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005696/0.1032, allocations: 243.2 kB / 404.3 MB, free: 8.684 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.789e-05/0.1032, allocations: 23.94 kB / 404.4 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005421/0.1087, allocations: 2.355 MB / 406.7 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.315e-05/0.1087, allocations: 39.92 kB / 406.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.278e-05/0.1088, allocations: 4.281 kB / 406.8 MB, free: 6.262 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.1089, allocations: 27.86 kB / 406.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.1089, allocations: 8 kB / 406.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.251e-06/0.1089, allocations: 0 / 406.8 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007182/0.1161, allocations: 4.75 MB / 411.5 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.1162, allocations: 4 kB / 411.5 MB, free: 1.465 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.675e-05/0.1162, allocations: 33.64 kB / 411.6 MB, free: 1.426 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001629/0.1179, allocations: 0.9903 MB / 412.6 MB, free: 444 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1179, allocations: 4 kB / 412.6 MB, free: 440 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1179, allocations: 0 / 412.6 MB, free: 440 kB / 302.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.1179, allocations: 0 / 412.6 MB, free: 440 kB / 302.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.0006725/0.1186, allocations: 0.503 MB / 413.1 MB, free: 15.88 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.1186, allocations: 11.97 kB / 413.1 MB, free: 15.87 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.523e-05/0.1187, allocations: 30.56 kB / 413.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.115e-05/0.1187, allocations: 7.953 kB / 413.1 MB, free: 15.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/0.1188, allocations: 159.1 kB / 413.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1188, allocations: 3.984 kB / 413.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.5e-06/0.1188, allocations: 0 / 413.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.1189, allocations: 49.67 kB / 413.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-06/0.1189, allocations: 0 / 413.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.502e-06/0.1189, allocations: 0 / 413.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.1189, allocations: 0 / 413.3 MB, free: 15.57 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.776e-05/0.119, allocations: 19.94 kB / 413.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001488/0.1191, allocations: 165.5 kB / 413.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.492e-05/0.1192, allocations: 34.56 kB / 413.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1784/0.2976, allocations: 19 MB / 432.5 MB, free: 41.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.2977, allocations: 36.95 kB / 432.6 MB, free: 41.44 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.364e-06/0.2977, allocations: 3.188 kB / 432.6 MB, free: 41.44 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002313/0.298, allocations: 157.4 kB / 432.7 MB, free: 41.32 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.298, allocations: 52.03 kB / 432.8 MB, free: 41.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.8e-05/0.298, allocations: 96.53 kB / 432.9 MB, free: 41.16 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.287e-06/0.2981, allocations: 26.58 kB / 432.9 MB, free: 41.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.585e-05/0.2981, allocations: 80.98 kB / 433 MB, free: 41.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/0.2981, allocations: 24.06 kB / 433 MB, free: 41.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.2981, allocations: 2.312 kB / 433 MB, free: 41.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.506e-05/0.2982, allocations: 318.9 kB / 433.3 MB, free: 40.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.958e-05/0.2982, allocations: 11.59 kB / 433.3 MB, free: 40.73 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.858e-05/0.2982, allocations: 10.89 kB / 433.3 MB, free: 40.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.67e-05/0.2983, allocations: 14.48 kB / 433.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2983, allocations: 0 / 433.4 MB, free: 40.73 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.837e-05/0.2984, allocations: 69.09 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.2984, allocations: 5.156 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2984, allocations: 0.6094 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2984, allocations: 1.062 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2984, allocations: 0 / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2984, allocations: 0.6562 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.146e-05/0.2984, allocations: 4.719 kB / 433.4 MB, free: 40.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.2985, allocations: 1.031 kB / 433.4 MB, free: 40.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.902e-05/0.2985, allocations: 115.5 kB / 433.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.2985, allocations: 1.828 kB / 433.6 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.2986, allocations: 178 kB / 433.7 MB, free: 40.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-05/0.2987, allocations: 177.3 kB / 433.9 MB, free: 40.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.271e-05/0.2987, allocations: 182.2 kB / 434.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/0.2987, allocations: 181.6 kB / 434.3 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001372/0.2989, allocations: 411.1 kB / 434.7 MB, free: 39.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/0.2989, allocations: 105.8 kB / 434.8 MB, free: 39.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.596e-05/0.2989, allocations: 106.7 kB / 434.9 MB, free: 39.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-05/0.2989, allocations: 179.5 kB / 435 MB, free: 39.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.465e-05/0.299, allocations: 184.4 kB / 435.2 MB, free: 38.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-05/0.299, allocations: 182.9 kB / 435.4 MB, free: 38.66 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.199e-05/0.299, allocations: 186.2 kB / 435.6 MB, free: 38.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.567e-05/0.2991, allocations: 305.2 kB / 435.9 MB, free: 38.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2991, allocations: 192.2 kB / 436.1 MB, free: 37.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.689e-05/0.2992, allocations: 191 kB / 436.3 MB, free: 37.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.186e-05/0.2993, allocations: 109.1 kB / 436.4 MB, free: 37.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.2993, allocations: 181.5 kB / 436.5 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.2993, allocations: 106.9 kB / 436.6 MB, free: 37.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.638e-05/0.2994, allocations: 104 kB / 436.7 MB, free: 37.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.62e-07/0.2994, allocations: 0 / 436.7 MB, free: 37.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001138/0.3005, allocations: 389.6 kB / 437.1 MB, free: 37.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/0.3023, allocations: 1.35 MB / 438.5 MB, free: 36.45 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.3024, allocations: 25.09 kB / 438.5 MB, free: 36.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3024, allocations: 0.875 kB / 438.5 MB, free: 36.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.565e-06/0.3024, allocations: 1.062 kB / 438.5 MB, free: 36.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002445/0.3026, allocations: 0.5312 MB / 439 MB, free: 35.92 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006471/0.3033, allocations: 396.2 kB / 439.4 MB, free: 35.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001131/0.3034, allocations: 0.6834 MB / 440.1 MB, free: 34.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.249e-05/0.3034, allocations: 5.031 kB / 440.1 MB, free: 34.92 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.058e-05/0.3035, allocations: 12.59 kB / 440.1 MB, free: 34.91 MB / 318.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3035, allocations: 0 / 440.1 MB, free: 34.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03043/0.3339, allocations: 14.85 MB / 455 MB, free: 27.2 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001307/0.3341, allocations: 181.2 kB / 455.1 MB, free: 26.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.045/2.379, allocations: 0 / 455.1 MB, free: 26.96 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/linux/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) Environment - environmentSimulation: