Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2114/0.2144, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.6339/0.8484, allocations: 159.1 MB / 0.7451 GB, free: 14.34 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.007485/0.8559, allocations: 4.523 MB / 0.7495 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007906/0.8568, allocations: 9.938 kB / 0.7495 GB, free: 13.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.858, allocations: 177.1 kB / 0.7496 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.8599, allocations: 467.9 kB / 0.7501 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.8614, allocations: 332.4 kB / 0.7504 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002001/0.8634, allocations: 1.271 MB / 0.7517 GB, free: 13.49 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005437/0.864, allocations: 234 kB / 0.7519 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.8659, allocations: 0.5268 MB / 0.7524 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007201/0.8667, allocations: 321.4 kB / 0.7527 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.8668, allocations: 16.94 kB / 0.7527 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003975/0.8672, allocations: 86 kB / 0.7528 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002426/0.8674, allocations: 146.8 kB / 0.7529 GB, free: 13.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003164/0.8678, allocations: 198 kB / 0.7531 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000855/0.8686, allocations: 0.5336 MB / 0.7536 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.8687, allocations: 3.562 kB / 0.7536 GB, free: 12.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.843e-06/0.8687, allocations: 0 / 0.7536 GB, free: 12.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.775e-06/0.8687, allocations: 0 / 0.7536 GB, free: 12.7 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.001803/0.8705, allocations: 0.6637 MB / 0.7543 GB, free: 12.18 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/0.8706, allocations: 7.812 kB / 0.7543 GB, free: 12.18 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.871, allocations: 54.77 kB / 0.7544 GB, free: 12.15 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006419/0.8717, allocations: 310.4 kB / 0.7547 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.8717, allocations: 27.69 kB / 0.7547 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/0.8718, allocations: 29.88 kB / 0.7547 GB, free: 11.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.8729, allocations: 392.8 kB / 0.7551 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.8729, allocations: 3.125 kB / 0.7551 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.403e-05/0.873, allocations: 21.3 kB / 0.7551 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.448e-05/0.873, allocations: 6.781 kB / 0.7551 GB, free: 11.75 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008861/0.8739, allocations: 285.8 kB / 0.7554 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.877, allocations: 1.433 MB / 0.7568 GB, free: 10.67 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003188/0.8773, allocations: 84.5 kB / 0.7569 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.8775, allocations: 40 kB / 0.7569 GB, free: 10.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004731/0.878, allocations: 122.1 kB / 0.757 GB, free: 10.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.916e-05/0.8781, allocations: 37.06 kB / 0.7571 GB, free: 10.46 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.8781, allocations: 3.938 kB / 0.7571 GB, free: 10.46 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006593/0.8787, allocations: 168.9 kB / 0.7572 GB, free: 10.39 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.8788, allocations: 58.38 kB / 0.7573 GB, free: 10.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006638/0.8795, allocations: 430.7 kB / 0.7577 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.8795, allocations: 28.23 kB / 0.7577 GB, free: 10.12 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/0.8797, allocations: 217.4 kB / 0.7579 GB, free: 9.973 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.8798, allocations: 25.83 kB / 0.7579 GB, free: 9.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.8799, allocations: 56.92 kB / 0.758 GB, free: 9.926 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.8801, allocations: 344.5 kB / 0.7583 GB, free: 9.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.8803, allocations: 74.31 kB / 0.7584 GB, free: 9.582 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.8806, allocations: 163 kB / 0.7586 GB, free: 9.449 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005172/0.8812, allocations: 241.7 kB / 0.7588 GB, free: 9.285 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.8812, allocations: 0 / 0.7588 GB, free: 9.285 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0007582/0.882, allocations: 284.3 kB / 0.7591 GB, free: 9.184 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.882, allocations: 6.156 kB / 0.7591 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.882, allocations: 4.938 kB / 0.7591 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.401e-05/0.882, allocations: 3.25 kB / 0.7591 GB, free: 9.184 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003152/0.8824, allocations: 59.84 kB / 0.7591 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.8824, allocations: 4.844 kB / 0.7591 GB, free: 9.168 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004679/0.8829, allocations: 53.17 kB / 0.7592 GB, free: 9.137 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/0.8829, allocations: 10.72 kB / 0.7592 GB, free: 9.137 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (26): * Single equations (assignments): 26 * 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.0002193/0.8831, allocations: 173.3 kB / 0.7594 GB, free: 9.004 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.8833, allocations: 30.75 kB / 0.7594 GB, free: 8.988 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004712/0.8837, allocations: 150.8 kB / 0.7595 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.8838, allocations: 2.719 kB / 0.7595 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.8838, allocations: 0 / 0.7595 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.8838, allocations: 0 / 0.7595 GB, free: 8.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009855/0.8848, allocations: 0.5285 MB / 0.76 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.8848, allocations: 1.5 kB / 0.76 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.8849, allocations: 17.02 kB / 0.7601 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.885, allocations: 1.812 kB / 0.7601 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.885, allocations: 6 kB / 0.7601 GB, free: 8.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.885, allocations: 3.938 kB / 0.7601 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.885, allocations: 0 / 0.7601 GB, free: 8.508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006748/0.8857, allocations: 294.2 kB / 0.7604 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.8859, allocations: 140.7 kB / 0.7605 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.31e-05/0.886, allocations: 3.938 kB / 0.7605 GB, free: 8.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004615/0.8865, allocations: 22.05 kB / 0.7605 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.8866, allocations: 15.61 kB / 0.7605 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.8866, allocations: 6.844 kB / 0.7605 GB, free: 8.168 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004519/0.8871, allocations: 311.8 kB / 0.7608 GB, free: 8.047 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8871, allocations: 0 / 0.7608 GB, free: 8.047 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007081/0.8878, allocations: 91.8 kB / 0.7609 GB, free: 8.039 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (7): * Single equations (assignments): 7 * 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.000459/0.8883, allocations: 153.6 kB / 0.7611 GB, free: 7.93 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005426/0.8888, allocations: 145.1 kB / 0.7612 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.8889, allocations: 3 kB / 0.7612 GB, free: 7.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001757/0.889, allocations: 47.12 kB / 0.7613 GB, free: 7.887 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.8906, allocations: 180.3 kB / 0.7614 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.892, allocations: 0.6953 MB / 0.7621 GB, free: 7.367 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.8926, allocations: 0.7883 MB / 0.7629 GB, free: 6.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004373/0.893, allocations: 68.28 kB / 0.7629 GB, free: 6.594 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.53e-05/0.8931, allocations: 25.41 kB / 0.763 GB, free: 6.586 MB / 0.545 GB Notification: Performance of SimCode: time 2.434e-06/0.8931, allocations: 0 / 0.763 GB, free: 6.586 MB / 0.545 GB Notification: Performance of Templates: time 0.01668/0.9098, allocations: 6.39 MB / 0.7692 GB, free: 3.461 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1)