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.005321/0.005321, allocations: 98.36 kB / 15.73 MB, free: 5.605 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.001274/0.001274, allocations: 192.4 kB / 16.67 MB, free: 5.527 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002176/0.002177, allocations: 283.5 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.024/1.024, allocations: 169.3 MB / 0.4983 GB, free: 4.395 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 99.84 kB / 0.6815 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4965/0.4983, allocations: 86.97 MB / 0.7664 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1741/0.6724, allocations: 161.3 MB / 0.924 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.006044/0.6785, allocations: 4.552 MB / 0.9284 GB, free: 13.35 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004474/0.679, allocations: 7.938 kB / 0.9284 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.000538/0.6796, allocations: 123.1 kB / 0.9285 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.6807, allocations: 330.4 kB / 0.9289 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008475/0.6816, allocations: 278.2 kB / 0.9291 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0007051/0.6823, allocations: 0.5573 MB / 0.9297 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003312/0.6826, allocations: 205.2 kB / 0.9299 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009294/0.6836, allocations: 458.2 kB / 0.9303 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.6839, allocations: 187.3 kB / 0.9305 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.6839, allocations: 20 kB / 0.9305 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.6841, allocations: 75.94 kB / 0.9306 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.6842, allocations: 87.72 kB / 0.9307 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.6843, allocations: 123.4 kB / 0.9308 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004145/0.6848, allocations: 312.7 kB / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.6848, allocations: 0 / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6848, allocations: 0 / 0.9311 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.6848, allocations: 0 / 0.9311 GB, free: 10.63 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.0007996/0.6856, allocations: 0.5409 MB / 0.9316 GB, free: 10.04 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.6856, allocations: 12.03 kB / 0.9316 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.6857, allocations: 39.69 kB / 0.9316 GB, free: 9.992 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003816/0.6861, allocations: 291.5 kB / 0.9319 GB, free: 9.668 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.6861, allocations: 16 kB / 0.9319 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.447e-05/0.6862, allocations: 24 kB / 0.932 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004201/0.6866, allocations: 262.3 kB / 0.9322 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.6866, allocations: 8 kB / 0.9322 GB, free: 9.328 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.002e-05/0.6867, allocations: 7.938 kB / 0.9322 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6867, allocations: 4 kB / 0.9322 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.687, allocations: 151.8 kB / 0.9324 GB, free: 9.168 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.6883, allocations: 1.364 MB / 0.9337 GB, free: 7.715 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.6886, allocations: 187.7 kB / 0.9339 GB, free: 7.477 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.6888, allocations: 93.11 kB / 0.934 GB, free: 7.367 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003342/0.6891, allocations: 121 kB / 0.9341 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.6891, allocations: 38.44 kB / 0.9341 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.6891, allocations: 4 kB / 0.9341 GB, free: 7.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006049/0.6897, allocations: 209.7 kB / 0.9343 GB, free: 6.969 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.6898, allocations: 183.9 kB / 0.9345 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.6901, allocations: 287 kB / 0.9348 GB, free: 6.461 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.6902, allocations: 25.7 kB / 0.9348 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.6903, allocations: 151.9 kB / 0.9349 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.6903, allocations: 47.91 kB / 0.935 GB, free: 6.23 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.6904, allocations: 33.7 kB / 0.935 GB, free: 6.191 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6905, allocations: 338.8 kB / 0.9353 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.6906, allocations: 39.97 kB / 0.9354 GB, free: 5.812 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.6908, allocations: 123.5 kB / 0.9355 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002792/0.6911, allocations: 154.8 kB / 0.9357 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6911, allocations: 0 / 0.9357 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003653/0.6915, allocations: 189.3 kB / 0.9358 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6915, allocations: 12.16 kB / 0.9358 GB, free: 5.285 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.6915, allocations: 4 kB / 0.9358 GB, free: 5.281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.6916, allocations: 4 kB / 0.9359 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/0.6917, allocations: 31.92 kB / 0.9359 GB, free: 5.246 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.6917, allocations: 3.938 kB / 0.9359 GB, free: 5.242 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.6919, allocations: 31.83 kB / 0.9359 GB, free: 5.211 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.6919, allocations: 12.25 kB / 0.9359 GB, free: 5.199 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.0001963/0.6921, allocations: 148.2 kB / 0.9361 GB, free: 5.047 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.6922, allocations: 35.8 kB / 0.9361 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.6925, allocations: 127 kB / 0.9362 GB, free: 4.879 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6926, allocations: 4 kB / 0.9362 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6926, allocations: 0 / 0.9362 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.6926, allocations: 0 / 0.9362 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007755/0.6934, allocations: 0.7808 MB / 0.937 GB, free: 4.02 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6934, allocations: 3.984 kB / 0.937 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.6935, allocations: 23.98 kB / 0.937 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.6935, allocations: 0 / 0.937 GB, free: 3.992 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.6935, allocations: 4 kB / 0.937 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.6935, allocations: 4 kB / 0.937 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6935, allocations: 0 / 0.937 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.694, allocations: 347.5 kB / 0.9374 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 8.437e-05/0.6941, allocations: 113 kB / 0.9375 GB, free: 3.484 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.662e-05/0.6942, allocations: 11.98 kB / 0.9375 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.6943, allocations: 4 kB / 0.9375 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.728e-05/0.6944, allocations: 11.92 kB / 0.9375 GB, free: 3.457 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.6944, allocations: 8 kB / 0.9375 GB, free: 3.449 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001831/0.6946, allocations: 209.9 kB / 0.9377 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6946, allocations: 0 / 0.9377 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003131/0.6949, allocations: 55.89 kB / 0.9378 GB, free: 3.195 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.0003165/0.6952, allocations: 138.7 kB / 0.9379 GB, free: 3.059 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003397/0.6956, allocations: 128.1 kB / 0.938 GB, free: 2.934 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.6956, allocations: 4.062 kB / 0.938 GB, free: 2.93 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.6957, allocations: 60.09 kB / 0.9381 GB, free: 2.871 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006887/0.6964, allocations: 128 kB / 0.9382 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.6972, allocations: 495.4 kB / 0.9387 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002887/0.6975, allocations: 0.7518 MB / 0.9394 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.6976, allocations: 50.25 kB / 0.9394 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.6977, allocations: 31.38 kB / 0.9395 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of SimCode: time 5.31e-07/0.6977, allocations: 0 / 0.9395 GB, free: 1.363 MB / 0.7012 GB Notification: Performance of Templates: time 0.007799/0.7055, allocations: 4.258 MB / 0.9436 GB, free: 13.18 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)