Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7456/0.7456, allocations: 127.4 MB / 134.9 MB, free: 3.723 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 184.9 kB / 164.7 MB, free: 6.527 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.52/1.52, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 87.36 kB / 476.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.053e-05/2.056e-05, allocations: 8 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.147, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.171/5.318, allocations: 2.136 GB / 2.757 GB, free: 97 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/5.318, allocations: 91.94 kB / 2.757 GB, free: 96.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.7651/6.084, allocations: 205.6 MB / 2.958 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.122e-06/6.084, allocations: 0 / 2.958 GB, free: 140.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.114e-05/6.084, allocations: 4 kB / 2.958 GB, free: 140.8 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0008898/6.085, allocations: 0.5611 MB / 2.959 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/6.085, allocations: 12.03 kB / 2.959 GB, free: 140.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.013e-05/6.085, allocations: 25.61 kB / 2.959 GB, free: 140.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/6.085, allocations: 271.4 kB / 2.959 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/6.085, allocations: 7.953 kB / 2.959 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/6.085, allocations: 12 kB / 2.959 GB, free: 139.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002259/6.085, allocations: 103.9 kB / 2.959 GB, free: 139.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/6.086, allocations: 201.2 kB / 2.959 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/6.086, allocations: 7.922 kB / 2.959 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.817e-05/6.086, allocations: 0 / 2.959 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/6.086, allocations: 4 kB / 2.959 GB, free: 139.5 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007972/6.086, allocations: 0.9607 MB / 2.96 GB, free: 138.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001346/6.087, allocations: 107.8 kB / 2.96 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.57e-05/6.087, allocations: 58.69 kB / 2.96 GB, free: 138.3 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/6.087, allocations: 117 kB / 2.961 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.986e-05/6.087, allocations: 30.56 kB / 2.961 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.122e-06/6.087, allocations: 4 kB / 2.961 GB, free: 138.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003454/6.087, allocations: 125.4 kB / 2.961 GB, free: 138 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/6.087, allocations: 102.8 kB / 2.961 GB, free: 137.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000116/6.087, allocations: 163.1 kB / 2.961 GB, free: 137.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/6.087, allocations: 25.7 kB / 2.961 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.346e-05/6.088, allocations: 160 kB / 2.961 GB, free: 137.5 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/6.088, allocations: 35.41 kB / 2.961 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/6.088, allocations: 0 / 2.961 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.585e-05/6.088, allocations: 338.8 kB / 2.961 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.12e-05/6.088, allocations: 24 kB / 2.961 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.651e-05/6.088, allocations: 87.72 kB / 2.962 GB, free: 137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/6.088, allocations: 63.88 kB / 2.962 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/6.088, allocations: 0 / 2.962 GB, free: 136.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002339/6.088, allocations: 149.3 kB / 2.962 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/6.088, allocations: 4 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/6.088, allocations: 4 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/6.088, allocations: 4.188 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/6.088, allocations: 39.97 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.161e-06/6.088, allocations: 3.938 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/6.089, allocations: 16.03 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.831e-05/6.089, allocations: 11.98 kB / 2.962 GB, free: 136.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 prepare postOptimizeDAE: time 6.425e-05/6.089, allocations: 108.9 kB / 2.962 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002452/6.089, allocations: 133.5 kB / 2.962 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.666e-05/6.089, allocations: 15.81 kB / 2.962 GB, free: 136.4 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002227/6.089, allocations: 111.1 kB / 2.962 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/6.089, allocations: 0 / 2.962 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/6.089, allocations: 4 kB / 2.962 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/6.089, allocations: 3.953 kB / 2.962 GB, free: 136.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/6.09, allocations: 493.1 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/6.09, allocations: 4 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/6.09, allocations: 23.92 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/6.09, allocations: 4 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.316e-05/6.09, allocations: 3.953 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/6.09, allocations: 4 kB / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/6.09, allocations: 0 / 2.963 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/6.09, allocations: 333.6 kB / 2.963 GB, free: 135.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/6.09, allocations: 92.94 kB / 2.963 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.684e-05/6.09, allocations: 4 kB / 2.963 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/6.09, allocations: 16.08 kB / 2.963 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/6.09, allocations: 11.89 kB / 2.963 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/6.09, allocations: 7.984 kB / 2.963 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.855e-05/6.091, allocations: 124.3 kB / 2.963 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/6.091, allocations: 4 kB / 2.963 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005026/6.091, allocations: 123.8 kB / 2.963 GB, free: 134.9 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.001731/6.093, allocations: 2.165 MB / 2.966 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001651/6.093, allocations: 76.17 kB / 2.966 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/6.093, allocations: 0 / 2.966 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.473e-05/6.093, allocations: 43.92 kB / 2.966 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/6.093, allocations: 49.17 kB / 2.966 GB, free: 132.7 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/6.094, allocations: 412.5 kB / 2.966 GB, free: 132.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/6.094, allocations: 0.7711 MB / 2.967 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 9.44e-05/6.095, allocations: 29.83 kB / 2.967 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.725e-05/6.095, allocations: 63.42 kB / 2.967 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/6.095, allocations: 0 / 2.967 GB, free: 131.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03321/6.128, allocations: 11.89 MB / 2.979 GB, free: 119.5 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001486/6.128, allocations: 176.7 kB / 2.979 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.011/8.139, allocations: 0 / 2.979 GB, free: 119.3 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)