Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.642/1.642, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 171.3 kB / 325.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205 MB / 0.576 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006631/0.0006634, allocations: 96.8 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003059, allocations: 11.66 kB / 0.7932 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1388/0.3156, allocations: 158.9 MB / 1.051 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.3826/0.6982, allocations: 4.598 MB / 1.056 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003592/0.6986, allocations: 10.44 kB / 1.056 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003835/0.699, allocations: 97.69 kB / 1.056 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0008136/0.6998, allocations: 308.7 kB / 1.056 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006493/0.7005, allocations: 246.4 kB / 1.057 GB, free: 1.895 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005444/0.7011, allocations: 0.7927 MB / 1.057 GB, free: 1.891 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000226/0.7013, allocations: 159 kB / 1.057 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007157/0.702, allocations: 421 kB / 1.058 GB, free: 1.879 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002158/0.7023, allocations: 203.9 kB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.7023, allocations: 10.28 kB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.7024, allocations: 68.03 kB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.026e-05/0.7025, allocations: 77.73 kB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 8.95e-05/0.7026, allocations: 104.6 kB / 1.058 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.00031/0.7029, allocations: 278.3 kB / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.703, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.403e-06/0.703, allocations: 0 / 1.059 GB, free: 1.871 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.703, allocations: 2.406 kB / 1.059 GB, free: 1.871 MB / 0.698 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.0007234/0.7037, allocations: 0.4949 MB / 1.059 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.7037, allocations: 8.375 kB / 1.059 GB, free: 17.45 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.7038, allocations: 50.09 kB / 1.059 GB, free: 17.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.52e-05/0.7038, allocations: 27.97 kB / 1.059 GB, free: 17.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.7042, allocations: 281.2 kB / 1.059 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.7042, allocations: 12.03 kB / 1.059 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.87e-05/0.7042, allocations: 18.47 kB / 1.059 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.7046, allocations: 272.1 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.7046, allocations: 3.516 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.7046, allocations: 9.688 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.7046, allocations: 5.844 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.705, allocations: 156.5 kB / 1.06 GB, free: 17.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001149/0.7061, allocations: 1.375 MB / 1.061 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002328/0.7064, allocations: 190.8 kB / 1.061 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.7065, allocations: 103.8 kB / 1.061 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003372/0.7069, allocations: 129.2 kB / 1.062 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/0.7069, allocations: 42.33 kB / 1.062 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.7069, allocations: 0 / 1.062 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0005702/0.7075, allocations: 224.9 kB / 1.062 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.917e-05/0.7076, allocations: 185.9 kB / 1.062 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.7078, allocations: 282.7 kB / 1.062 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.7079, allocations: 28.61 kB / 1.062 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.708, allocations: 156.8 kB / 1.062 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.708, allocations: 36.12 kB / 1.062 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.059e-05/0.7081, allocations: 20.61 kB / 1.063 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7082, allocations: 333.7 kB / 1.063 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001264/0.7083, allocations: 50.77 kB / 1.063 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.7085, allocations: 112.4 kB / 1.063 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002596/0.7088, allocations: 170.1 kB / 1.063 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7088, allocations: 2.688 kB / 1.063 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000348/0.7091, allocations: 200.5 kB / 1.063 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.7092, allocations: 9.594 kB / 1.063 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.7092, allocations: 3.531 kB / 1.063 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.7092, allocations: 3.547 kB / 1.063 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.7093, allocations: 32.62 kB / 1.063 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.7093, allocations: 3.578 kB / 1.063 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001515/0.7095, allocations: 31.95 kB / 1.063 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.7095, allocations: 12.94 kB / 1.063 GB, free: 14.56 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001127/0.7096, allocations: 152.3 kB / 1.064 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.7098, allocations: 27.67 kB / 1.064 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003097/0.7101, allocations: 139.3 kB / 1.064 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.147e-06/0.7101, allocations: 5.391 kB / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.7101, allocations: 3.188 kB / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.7101, allocations: 7.656 kB / 1.064 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007151/0.7108, allocations: 0.7623 MB / 1.064 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.7108, allocations: 4.156 kB / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.711, allocations: 24.89 kB / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.711, allocations: 4.969 kB / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.711, allocations: 9.781 kB / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.711, allocations: 6.266 kB / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.711, allocations: 0 / 1.065 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004977/0.7115, allocations: 357.3 kB / 1.065 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/0.7116, allocations: 115.1 kB / 1.065 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.7116, allocations: 3.484 kB / 1.065 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.7118, allocations: 14.25 kB / 1.065 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.278e-05/0.7118, allocations: 15.72 kB / 1.065 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-06/0.7118, allocations: 3.578 kB / 1.065 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001695/0.712, allocations: 208.1 kB / 1.065 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.712, allocations: 3.938 kB / 1.065 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003116/0.7123, allocations: 51.94 kB / 1.065 GB, free: 13.35 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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 (10): * Single equations (assignments): 10 * 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.0009739/0.7133, allocations: 0.933 MB / 1.066 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003559/0.7137, allocations: 134.4 kB / 1.066 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7137, allocations: 1.031 kB / 1.066 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/0.7139, allocations: 65.69 kB / 1.066 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007607/0.7146, allocations: 119.7 kB / 1.067 GB, free: 12.61 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.7178, allocations: 2.666 MB / 1.069 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.7181, allocations: 0.7578 MB / 1.07 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000194/0.7183, allocations: 49.42 kB / 1.07 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.7185, allocations: 69.78 kB / 1.07 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of SimCode: time 2.154e-06/0.7185, allocations: 0 / 1.07 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4907/1.209, allocations: 6.257 MB / 1.076 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/1.209, allocations: 254.2 kB / 1.076 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.062/3.272, allocations: 0 / 1.076 GB, free: 9.598 MB / 0.7136 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)