Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy",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.006972/0.006972, allocations: 101.7 kB / 15.88 MB, free: 6.312 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.001693/0.001693, allocations: 194.6 kB / 16.79 MB, free: 6.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.33/1.33, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.663/0.663, allocations: 115.3 MB / 406 MB, free: 2.781 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001257, allocations: 73.23 kB / 493 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 76.19 MB / 0.5558 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4163/0.5437, allocations: 159.1 MB / 0.7112 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007399/0.5511, allocations: 4.566 MB / 0.7157 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004517/0.5517, allocations: 7.938 kB / 0.7157 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.5522, allocations: 95.3 kB / 0.7158 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0009258/0.5532, allocations: 314.7 kB / 0.7161 GB, free: 2.746 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.554, allocations: 245.3 kB / 0.7163 GB, free: 2.512 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001004/0.5551, allocations: 0.7953 MB / 0.7171 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.5554, allocations: 177.5 kB / 0.7172 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.5566, allocations: 410.5 kB / 0.7176 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003582/0.557, allocations: 203.2 kB / 0.7178 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.084e-05/0.557, allocations: 12 kB / 0.7178 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002389/0.5573, allocations: 75.92 kB / 0.7179 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001349/0.5574, allocations: 83.72 kB / 0.718 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.5576, allocations: 111.4 kB / 0.7181 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004198/0.558, allocations: 283.1 kB / 0.7184 GB, free: 392 kB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.558, allocations: 0 / 0.7184 GB, free: 392 kB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.5581, allocations: 3.938 kB / 0.7184 GB, free: 388 kB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.115e-05/0.5581, allocations: 0 / 0.7184 GB, free: 388 kB / 0.5294 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.001021/0.5591, allocations: 0.5342 MB / 0.7189 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.5592, allocations: 8.031 kB / 0.7189 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.995e-05/0.5592, allocations: 54.55 kB / 0.719 GB, free: 15.73 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.5593, allocations: 27.66 kB / 0.719 GB, free: 15.7 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004381/0.5598, allocations: 275.3 kB / 0.7192 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.5598, allocations: 12 kB / 0.7193 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.962e-05/0.5599, allocations: 23.98 kB / 0.7193 GB, free: 15.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/0.5604, allocations: 265.8 kB / 0.7195 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5605, allocations: 0 / 0.7195 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.238e-05/0.5605, allocations: 11.94 kB / 0.7195 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.5605, allocations: 7.938 kB / 0.7196 GB, free: 15.04 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004656/0.561, allocations: 151.8 kB / 0.7197 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001621/0.5626, allocations: 1.364 MB / 0.721 GB, free: 13.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003746/0.563, allocations: 183.7 kB / 0.7212 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.5633, allocations: 93.05 kB / 0.7213 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004515/0.5637, allocations: 121 kB / 0.7214 GB, free: 12.95 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.053e-05/0.5638, allocations: 50.34 kB / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of pre-optimization done (n=10): time 1.683e-06/0.5638, allocations: 0 / 0.7215 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=10): time 0.0008399/0.5647, allocations: 201.2 kB / 0.7216 GB, free: 12.69 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.5648, allocations: 187.9 kB / 0.7218 GB, free: 12.46 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003975/0.5652, allocations: 287.6 kB / 0.7221 GB, free: 12.18 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.5652, allocations: 33.7 kB / 0.7221 GB, free: 12.14 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001303/0.5654, allocations: 147.9 kB / 0.7223 GB, free: 12 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.5654, allocations: 35.45 kB / 0.7223 GB, free: 11.96 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.641e-05/0.5655, allocations: 33.7 kB / 0.7223 GB, free: 11.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.5657, allocations: 342.8 kB / 0.7227 GB, free: 11.58 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.5659, allocations: 43.91 kB / 0.7227 GB, free: 11.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.5661, allocations: 115.6 kB / 0.7228 GB, free: 11.39 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.5665, allocations: 163.5 kB / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5666, allocations: 0 / 0.723 GB, free: 11.21 MB / 0.545 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005263/0.5671, allocations: 189.2 kB / 0.7232 GB, free: 11.02 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.5671, allocations: 15.92 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.5671, allocations: 48 / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.5672, allocations: 10.17 kB / 0.7232 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.5674, allocations: 27.98 kB / 0.7232 GB, free: 10.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.5674, allocations: 7.938 kB / 0.7232 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.5676, allocations: 27.73 kB / 0.7232 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5677, allocations: 8 kB / 0.7233 GB, free: 10.93 MB / 0.545 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.0001787/0.5679, allocations: 149.9 kB / 0.7234 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.5681, allocations: 27.66 kB / 0.7234 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.5685, allocations: 127 kB / 0.7235 GB, free: 10.61 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/0.5685, allocations: 4 kB / 0.7235 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5686, allocations: 0 / 0.7235 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5686, allocations: 4 kB / 0.7235 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.5698, allocations: 0.7768 MB / 0.7243 GB, free: 9.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.5698, allocations: 4 kB / 0.7243 GB, free: 9.746 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/0.57, allocations: 27.86 kB / 0.7243 GB, free: 9.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.57, allocations: 4 kB / 0.7243 GB, free: 9.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.57, allocations: 4.156 kB / 0.7243 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.57, allocations: 8 kB / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.5701, allocations: 0 / 0.7244 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007251/0.5708, allocations: 339.4 kB / 0.7247 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.5709, allocations: 104.8 kB / 0.7248 GB, free: 9.219 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/0.571, allocations: 11.98 kB / 0.7248 GB, free: 9.207 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.5712, allocations: 4 kB / 0.7248 GB, free: 9.203 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.11e-05/0.5713, allocations: 23.86 kB / 0.7248 GB, free: 9.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.5713, allocations: 4.062 kB / 0.7248 GB, free: 9.176 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002809/0.5716, allocations: 209.9 kB / 0.725 GB, free: 8.977 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5716, allocations: 4 kB / 0.725 GB, free: 8.973 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000561/0.5722, allocations: 55.94 kB / 0.7251 GB, free: 8.918 MB / 0.545 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.00127/0.5734, allocations: 0.9034 MB / 0.726 GB, free: 7.984 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004557/0.5739, allocations: 127.8 kB / 0.7261 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5739, allocations: 0 / 0.7261 GB, free: 7.859 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001935/0.5741, allocations: 59.84 kB / 0.7261 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.5752, allocations: 135.8 kB / 0.7263 GB, free: 7.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004299/0.5796, allocations: 2.646 MB / 0.7289 GB, free: 4.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003892/0.58, allocations: 0.7557 MB / 0.7296 GB, free: 4.094 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002228/0.5802, allocations: 58.86 kB / 0.7296 GB, free: 4.039 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.5803, allocations: 63.42 kB / 0.7297 GB, free: 3.977 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5804, allocations: 96 / 0.7297 GB, free: 3.977 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.5998, allocations: 6.463 MB / 0.736 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001742/0.6, allocations: 242.9 kB / 0.7362 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.257/2.857, allocations: 4 kB / 0.7363 GB, free: 13.43 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_SpecificEnthalpy.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)