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.001321/0.001321, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 193.5 kB / 16.53 MB, free: 6.391 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.34/1.34, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002076/0.002076, allocations: 287 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9843/0.9843, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001846/0.001847, allocations: 102.3 kB / 0.5952 GB, free: 27.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1767, allocations: 86.98 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.4948/0.6715, allocations: 161.3 MB / 0.8377 GB, free: 240 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.005632/0.6772, allocations: 4.55 MB / 0.8422 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006523/0.6779, allocations: 10.16 kB / 0.8422 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.6786, allocations: 122.4 kB / 0.8423 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.6795, allocations: 333.9 kB / 0.8426 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008554/0.6804, allocations: 275 kB / 0.8429 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006943/0.6811, allocations: 0.561 MB / 0.8434 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.6815, allocations: 201.4 kB / 0.8436 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001316/0.6828, allocations: 460.1 kB / 0.8441 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000353/0.6832, allocations: 187.8 kB / 0.8442 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.708e-05/0.6832, allocations: 16.5 kB / 0.8443 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.6835, allocations: 80.95 kB / 0.8443 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.6836, allocations: 87.47 kB / 0.8444 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.6838, allocations: 118.1 kB / 0.8445 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.6843, allocations: 308.3 kB / 0.8448 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.6843, allocations: 0 / 0.8448 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.184e-06/0.6844, allocations: 7.938 kB / 0.8448 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.6844, allocations: 1.375 kB / 0.8448 GB, free: 15.22 MB / 0.5762 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.000889/0.6853, allocations: 0.5256 MB / 0.8453 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6853, allocations: 9.625 kB / 0.8454 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.6854, allocations: 29.41 kB / 0.8454 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003533/0.6858, allocations: 273.4 kB / 0.8456 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.6858, allocations: 16.23 kB / 0.8457 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.904e-05/0.6858, allocations: 25.34 kB / 0.8457 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.6863, allocations: 261 kB / 0.8459 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.6863, allocations: 5.406 kB / 0.8459 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.6863, allocations: 9.406 kB / 0.8459 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.6863, allocations: 5 kB / 0.846 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003406/0.6867, allocations: 149.2 kB / 0.8461 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001296/0.688, allocations: 1.368 MB / 0.8474 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.6883, allocations: 180.2 kB / 0.8476 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.6885, allocations: 100.1 kB / 0.8477 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.6888, allocations: 115.2 kB / 0.8478 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.6889, allocations: 49.38 kB / 0.8479 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.6889, allocations: 0 / 0.8479 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006072/0.6895, allocations: 206.5 kB / 0.848 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.6896, allocations: 190.7 kB / 0.8482 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002786/0.6899, allocations: 289.3 kB / 0.8485 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6899, allocations: 27.14 kB / 0.8485 GB, free: 11.88 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.69, allocations: 152.7 kB / 0.8487 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.6901, allocations: 34.12 kB / 0.8487 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-05/0.6901, allocations: 35.05 kB / 0.8487 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6903, allocations: 337.2 kB / 0.8491 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.6904, allocations: 45.03 kB / 0.8491 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.6906, allocations: 118.5 kB / 0.8492 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002768/0.6909, allocations: 158.2 kB / 0.8494 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6909, allocations: 0 / 0.8494 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003432/0.6912, allocations: 195.4 kB / 0.8496 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.6913, allocations: 9.469 kB / 0.8496 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.6913, allocations: 6.547 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6913, allocations: 2.531 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6914, allocations: 27.67 kB / 0.8496 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.6914, allocations: 13.17 kB / 0.8496 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001493/0.6916, allocations: 26.03 kB / 0.8496 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.6916, allocations: 11.95 kB / 0.8497 GB, free: 10.95 MB / 0.5762 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.0001249/0.6918, allocations: 142.2 kB / 0.8498 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.6919, allocations: 32.97 kB / 0.8498 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.6922, allocations: 128.5 kB / 0.8499 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.6922, allocations: 6.656 kB / 0.8499 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.6922, allocations: 2.656 kB / 0.85 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6922, allocations: 6.641 kB / 0.85 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007568/0.693, allocations: 0.767 MB / 0.8507 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.693, allocations: 2.281 kB / 0.8507 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.6931, allocations: 29.61 kB / 0.8507 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.6931, allocations: 2.781 kB / 0.8507 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.6932, allocations: 6.25 kB / 0.8507 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.6932, allocations: 6.484 kB / 0.8508 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.6932, allocations: 0 / 0.8508 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004739/0.6937, allocations: 336.2 kB / 0.8511 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.313e-05/0.6937, allocations: 114 kB / 0.8512 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.584e-05/0.6938, allocations: 6.625 kB / 0.8512 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.6939, allocations: 7.016 kB / 0.8512 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.119e-05/0.694, allocations: 20.78 kB / 0.8512 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.694, allocations: 5.281 kB / 0.8512 GB, free: 9.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001687/0.6942, allocations: 209.9 kB / 0.8514 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6942, allocations: 0 / 0.8514 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003309/0.6945, allocations: 56.73 kB / 0.8515 GB, free: 9.367 MB / 0.5762 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.0002979/0.6948, allocations: 145.1 kB / 0.8516 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.6952, allocations: 119.8 kB / 0.8517 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6952, allocations: 96 / 0.8517 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.6953, allocations: 66.72 kB / 0.8518 GB, free: 9.18 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007049/0.696, allocations: 144.9 kB / 0.8519 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007281/0.6968, allocations: 491.2 kB / 0.8524 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.6971, allocations: 0.757 MB / 0.8531 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000131/0.6972, allocations: 56.36 kB / 0.8532 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.739e-05/0.6972, allocations: 23.03 kB / 0.8532 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of SimCode: time 2.6e-07/0.6972, allocations: 0 / 0.8532 GB, free: 7.977 MB / 0.5762 GB Notification: Performance of Templates: time 0.007373/0.7046, allocations: 4.225 MB / 0.8573 GB, free: 5.914 MB / 0.5762 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)