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.0007497/0.0007496, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008515/0.0008515, allocations: 168.7 kB / 15.95 MB, free: 204 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.267/1.267, allocations: 205.4 MB / 222.1 MB, free: 5.348 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04378/0.04378, allocations: 9.071 MB / 279.5 MB, free: 12.11 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.0004412/0.0004412, allocations: 16 kB / 339.2 MB, free: 25.84 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07254/0.07299, allocations: 49.18 MB / 388.4 MB, free: 8.605 MB / 286.1 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.Parameter.State_Ts_parameter): time 0.01577/0.0888, allocations: 15.61 MB / 404 MB, free: 8.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.09059, allocations: 1.75 MB / 405.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.516e-05/0.09064, allocations: 0 / 405.8 MB, free: 7.176 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005152/0.09117, allocations: 227 kB / 406 MB, free: 6.953 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.347e-05/0.09123, allocations: 23.84 kB / 406 MB, free: 6.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005388/0.09662, allocations: 2.306 MB / 408.3 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.44e-05/0.09671, allocations: 47.73 kB / 408.4 MB, free: 4.574 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.887e-05/0.09675, allocations: 4.281 kB / 408.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.734e-05/0.09683, allocations: 31.8 kB / 408.4 MB, free: 4.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.09687, allocations: 11.94 kB / 408.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.873e-06/0.09688, allocations: 0 / 408.4 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006089/0.103, allocations: 4.178 MB / 412.6 MB, free: 348 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.258e-06/0.103, allocations: 3.938 kB / 412.6 MB, free: 344 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.103, allocations: 29.7 kB / 412.6 MB, free: 308 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.1046, allocations: 1.033 MB / 413.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1046, allocations: 0 / 413.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1046, allocations: 0 / 413.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.1046, allocations: 0 / 413.7 MB, free: 15.27 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.0007345/0.1053, allocations: 0.4914 MB / 414.2 MB, free: 14.73 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.1054, allocations: 8.031 kB / 414.2 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.149e-05/0.1054, allocations: 30.56 kB / 414.2 MB, free: 14.68 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.214e-05/0.1054, allocations: 7.953 kB / 414.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.1055, allocations: 178.8 kB / 414.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.083e-06/0.1056, allocations: 0 / 414.4 MB, free: 14.46 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.927e-06/0.1056, allocations: 4 kB / 414.4 MB, free: 14.45 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.173e-05/0.1057, allocations: 37.7 kB / 414.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.1057, allocations: 0 / 414.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.1057, allocations: 0 / 414.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1057, allocations: 3.984 kB / 414.4 MB, free: 14.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.153e-05/0.1057, allocations: 12 kB / 414.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.1059, allocations: 169.6 kB / 414.6 MB, free: 14.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.337e-05/0.106, allocations: 38.52 kB / 414.6 MB, free: 14.13 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.425e-05/0.106, allocations: 24.88 kB / 414.7 MB, free: 14.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1651/0.2711, allocations: 18.93 MB / 433.6 MB, free: 40.38 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.2711, allocations: 32.67 kB / 433.6 MB, free: 40.34 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.964e-06/0.2711, allocations: 0 / 433.6 MB, free: 40.34 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0001812/0.2713, allocations: 75.03 kB / 433.7 MB, free: 40.31 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.2713, allocations: 59.38 kB / 433.8 MB, free: 40.25 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.73e-05/0.2714, allocations: 94.11 kB / 433.9 MB, free: 40.15 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.11e-06/0.2714, allocations: 25.7 kB / 433.9 MB, free: 40.12 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.362e-05/0.2714, allocations: 81.17 kB / 434 MB, free: 40.04 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.2715, allocations: 19.09 kB / 434 MB, free: 40.04 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.2715, allocations: 0 / 434 MB, free: 40.04 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.94e-05/0.2715, allocations: 324.8 kB / 434.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.2715, allocations: 9.188 kB / 434.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.2716, allocations: 12.56 kB / 434.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/0.2716, allocations: 14.67 kB / 434.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2716, allocations: 0 / 434.3 MB, free: 39.72 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.534e-05/0.2717, allocations: 63.47 kB / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.2717, allocations: 11.27 kB / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.2717, allocations: 0 / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.837e-05/0.2717, allocations: 8.625 kB / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.2717, allocations: 0 / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.2717, allocations: 3.094 kB / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.104e-05/0.2718, allocations: 6.078 kB / 434.4 MB, free: 39.69 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.2718, allocations: 0 / 434.4 MB, free: 39.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.527e-05/0.2718, allocations: 109.4 kB / 434.5 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.2718, allocations: 2.297 kB / 434.5 MB, free: 39.57 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.295e-05/0.2719, allocations: 168.9 kB / 434.7 MB, free: 39.4 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-05/0.272, allocations: 190.4 kB / 434.9 MB, free: 39.22 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.031e-05/0.272, allocations: 179.8 kB / 435.1 MB, free: 39.04 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.995e-05/0.272, allocations: 178.3 kB / 435.2 MB, free: 38.86 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001267/0.2722, allocations: 422.8 kB / 435.6 MB, free: 38.41 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.2722, allocations: 106.4 kB / 435.7 MB, free: 38.31 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.2722, allocations: 109.4 kB / 435.9 MB, free: 38.2 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.879e-05/0.2722, allocations: 177.4 kB / 436 MB, free: 38.02 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.204e-05/0.2722, allocations: 178.4 kB / 436.2 MB, free: 37.84 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.2e-05/0.2723, allocations: 189.1 kB / 436.4 MB, free: 37.65 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.031e-05/0.2723, allocations: 177.3 kB / 436.6 MB, free: 37.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.682e-05/0.2724, allocations: 306.6 kB / 436.9 MB, free: 37.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.74e-05/0.2724, allocations: 195.3 kB / 437 MB, free: 36.96 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.227e-05/0.2724, allocations: 181.9 kB / 437.2 MB, free: 36.78 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.508e-05/0.2725, allocations: 102.6 kB / 437.3 MB, free: 36.67 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/0.2725, allocations: 189.3 kB / 437.5 MB, free: 36.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.2726, allocations: 102.9 kB / 437.6 MB, free: 36.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.563e-05/0.2726, allocations: 101 kB / 437.7 MB, free: 36.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2726, allocations: 0 / 437.7 MB, free: 36.3 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009101/0.2735, allocations: 385.5 kB / 438.1 MB, free: 36.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.001563/0.2751, allocations: 1.364 MB / 439.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 5.823e-05/0.2752, allocations: 19.34 kB / 439.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2752, allocations: 0 / 439.5 MB, free: 35.44 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.495e-06/0.2752, allocations: 4.547 kB / 439.5 MB, free: 35.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.2755, allocations: 0.535 MB / 440 MB, free: 34.91 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005571/0.276, allocations: 388.9 kB / 440.4 MB, free: 34.62 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.743e-05/0.2761, allocations: 0.677 MB / 441.1 MB, free: 33.93 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.137e-05/0.2762, allocations: 0.6094 kB / 441.1 MB, free: 33.93 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.884e-05/0.2762, allocations: 10.89 kB / 441.1 MB, free: 33.92 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2762, allocations: 4 kB / 441.1 MB, free: 33.91 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02826/0.3045, allocations: 14.87 MB / 456 MB, free: 25.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001316/0.3046, allocations: 186.4 kB / 456.1 MB, free: 25.74 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.178/2.482, allocations: 3.516 kB / 456.1 MB, free: 25.74 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: