Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.001025, allocations: 110.7 kB / 16.41 MB, free: 6.496 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.001095/0.001095, allocations: 183 kB / 17.34 MB, free: 5.766 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.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 292.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9928/0.9928, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4536/0.4556, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1704/0.626, allocations: 161.3 MB / 0.9246 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006082/0.6321, allocations: 4.54 MB / 0.9291 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004262/0.6326, allocations: 11.94 kB / 0.9291 GB, free: 13.38 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.6331, allocations: 127 kB / 0.9292 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.000973/0.6341, allocations: 334.4 kB / 0.9295 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.635, allocations: 280.1 kB / 0.9298 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008215/0.6359, allocations: 0.5651 MB / 0.9303 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004151/0.6363, allocations: 193.2 kB / 0.9305 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.6374, allocations: 466.2 kB / 0.931 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.6378, allocations: 187.2 kB / 0.9311 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.6378, allocations: 16 kB / 0.9312 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002247/0.6381, allocations: 83.86 kB / 0.9312 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.6382, allocations: 87.78 kB / 0.9313 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.6384, allocations: 115.4 kB / 0.9314 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004436/0.6388, allocations: 313.7 kB / 0.9317 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6388, allocations: 0 / 0.9317 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.754e-06/0.6388, allocations: 0 / 0.9317 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.6388, allocations: 0 / 0.9317 GB, free: 10.66 MB / 0.7012 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.000856/0.6397, allocations: 0.5333 MB / 0.9323 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6398, allocations: 8.031 kB / 0.9323 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.174e-05/0.6398, allocations: 39.56 kB / 0.9323 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004172/0.6403, allocations: 275.5 kB / 0.9326 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.6403, allocations: 19.94 kB / 0.9326 GB, free: 9.703 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.139e-05/0.6403, allocations: 16 kB / 0.9326 GB, free: 9.688 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.6408, allocations: 266.3 kB / 0.9328 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.6408, allocations: 7.938 kB / 0.9329 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.502e-05/0.6409, allocations: 11.94 kB / 0.9329 GB, free: 9.371 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.6409, allocations: 8 kB / 0.9329 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003371/0.6412, allocations: 143.8 kB / 0.933 GB, free: 9.223 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.6426, allocations: 1.371 MB / 0.9343 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.6429, allocations: 183.7 kB / 0.9345 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.6431, allocations: 101 kB / 0.9346 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.6434, allocations: 121 kB / 0.9347 GB, free: 7.273 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.6435, allocations: 38.5 kB / 0.9348 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.6435, allocations: 4 kB / 0.9348 GB, free: 7.223 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006393/0.6441, allocations: 209.7 kB / 0.935 GB, free: 7.012 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.639e-05/0.6442, allocations: 183.9 kB / 0.9352 GB, free: 6.789 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002831/0.6445, allocations: 294.9 kB / 0.9354 GB, free: 6.496 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.6446, allocations: 29.7 kB / 0.9355 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.6447, allocations: 139.9 kB / 0.9356 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.6447, allocations: 39.41 kB / 0.9356 GB, free: 6.281 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.555e-05/0.6448, allocations: 37.77 kB / 0.9357 GB, free: 6.238 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6449, allocations: 338.8 kB / 0.936 GB, free: 5.898 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/0.6451, allocations: 47.95 kB / 0.936 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.6453, allocations: 115 kB / 0.9361 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002998/0.6456, allocations: 158.9 kB / 0.9363 GB, free: 5.535 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.6456, allocations: 4 kB / 0.9363 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004142/0.646, allocations: 189.1 kB / 0.9365 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.646, allocations: 11.94 kB / 0.9365 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6461, allocations: 0 / 0.9365 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.6461, allocations: 8.219 kB / 0.9365 GB, free: 5.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.6462, allocations: 27.98 kB / 0.9365 GB, free: 5.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.6462, allocations: 3.984 kB / 0.9365 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001692/0.6464, allocations: 27.75 kB / 0.9366 GB, free: 5.262 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.997e-05/0.6465, allocations: 11.98 kB / 0.9366 GB, free: 5.25 MB / 0.7012 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.0001615/0.6466, allocations: 152.1 kB / 0.9367 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.6468, allocations: 27.66 kB / 0.9367 GB, free: 5.066 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003464/0.6471, allocations: 135 kB / 0.9369 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.6471, allocations: 7.938 kB / 0.9369 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6471, allocations: 0 / 0.9369 GB, free: 4.918 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.6471, allocations: 3.984 kB / 0.9369 GB, free: 4.914 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008376/0.648, allocations: 0.7652 MB / 0.9376 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.648, allocations: 0 / 0.9376 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.6481, allocations: 27.92 kB / 0.9377 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.6481, allocations: 0 / 0.9377 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.6482, allocations: 11.98 kB / 0.9377 GB, free: 4.035 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/0.6482, allocations: 3.984 kB / 0.9377 GB, free: 4.031 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6482, allocations: 4 kB / 0.9377 GB, free: 4.027 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005322/0.6487, allocations: 335.6 kB / 0.938 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.6488, allocations: 120.8 kB / 0.9381 GB, free: 3.531 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.6489, allocations: 8.062 kB / 0.9381 GB, free: 3.523 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.649, allocations: 7.984 kB / 0.9381 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.349e-05/0.6491, allocations: 15.88 kB / 0.9381 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.6491, allocations: 4 kB / 0.9381 GB, free: 3.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000208/0.6493, allocations: 209.9 kB / 0.9383 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6493, allocations: 0 / 0.9383 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.000361/0.6497, allocations: 55.89 kB / 0.9384 GB, free: 3.242 MB / 0.7012 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.0003568/0.65, allocations: 146.8 kB / 0.9385 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003648/0.6504, allocations: 119.8 kB / 0.9387 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6504, allocations: 0 / 0.9387 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001592/0.6506, allocations: 60.47 kB / 0.9387 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007826/0.6514, allocations: 134.8 kB / 0.9388 GB, free: 2.793 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008843/0.6523, allocations: 0.5018 MB / 0.9393 GB, free: 2.242 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.6527, allocations: 0.7558 MB / 0.9401 GB, free: 1.461 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.883e-05/0.6527, allocations: 19.44 kB / 0.9401 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.6528, allocations: 0 / 0.9401 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of Templates: time 0.006816/0.6596, allocations: 3.818 MB / 0.9438 GB, free: 13.67 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)