Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [/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.1466/0.1487, allocations: 80.83 MB / 0.6706 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.5523/0.701, allocations: 167.6 MB / 0.8343 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007353/0.7085, allocations: 6.532 MB / 0.8406 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.709, allocations: 9.656 kB / 0.8407 GB, free: 5.574 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0009012/0.7099, allocations: 254.6 kB / 0.8409 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00198/0.7119, allocations: 0.734 MB / 0.8416 GB, free: 4.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.7132, allocations: 466.8 kB / 0.8421 GB, free: 4.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001054/0.7142, allocations: 1.104 MB / 0.8431 GB, free: 3.824 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004862/0.7147, allocations: 381.9 kB / 0.8435 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.7162, allocations: 0.7693 MB / 0.8443 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004838/0.7167, allocations: 386 kB / 0.8446 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.007e-05/0.7168, allocations: 45.22 kB / 0.8447 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.717, allocations: 128.1 kB / 0.8448 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002076/0.7172, allocations: 189.4 kB / 0.845 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002519/0.7175, allocations: 269.8 kB / 0.8452 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007733/0.7183, allocations: 0.6684 MB / 0.8459 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.7183, allocations: 6.406 kB / 0.8459 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.845e-06/0.7183, allocations: 0 / 0.8459 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.7183, allocations: 3.938 kB / 0.8459 GB, free: 2.09 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001266/0.7196, allocations: 0.7646 MB / 0.8466 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.7196, allocations: 7.406 kB / 0.8466 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002475/0.7199, allocations: 63.75 kB / 0.8467 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.7205, allocations: 374.8 kB / 0.8471 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-05/0.7206, allocations: 55.8 kB / 0.8471 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.953e-05/0.7206, allocations: 37.62 kB / 0.8472 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.7214, allocations: 413.5 kB / 0.8475 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.7214, allocations: 0 / 0.8475 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.701e-05/0.7215, allocations: 20.94 kB / 0.8476 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.7215, allocations: 15.38 kB / 0.8476 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.7221, allocations: 325.2 kB / 0.8479 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002173/0.7242, allocations: 1.429 MB / 0.8493 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003763/0.7246, allocations: 181 kB / 0.8495 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001934/0.7248, allocations: 96.3 kB / 0.8495 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003499/0.7252, allocations: 119.7 kB / 0.8497 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.7252, allocations: 42.88 kB / 0.8497 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.353e-06/0.7252, allocations: 3.938 kB / 0.8497 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0006847/0.7259, allocations: 315 kB / 0.85 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.726, allocations: 61.67 kB / 0.8501 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.7264, allocations: 426.8 kB / 0.8505 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.7264, allocations: 36.89 kB / 0.8505 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.7266, allocations: 218 kB / 0.8507 GB, free: 14.38 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.7266, allocations: 66.83 kB / 0.8508 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.551e-05/0.7267, allocations: 53.86 kB / 0.8508 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.7268, allocations: 346.2 kB / 0.8512 GB, free: 13.94 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.727, allocations: 94.56 kB / 0.8513 GB, free: 13.9 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.7273, allocations: 155.1 kB / 0.8514 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.7277, allocations: 253 kB / 0.8516 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7277, allocations: 0 / 0.8516 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005572/0.7283, allocations: 329.9 kB / 0.852 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.7283, allocations: 6.875 kB / 0.852 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.7283, allocations: 3.312 kB / 0.852 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.7283, allocations: 2.75 kB / 0.852 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.7286, allocations: 57.72 kB / 0.852 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.7286, allocations: 6.844 kB / 0.852 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.7288, allocations: 44.39 kB / 0.8521 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.7288, allocations: 6.844 kB / 0.8521 GB, free: 13.38 MB / 0.6231 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 (30): * Single equations (assignments): 30 * 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.0001674/0.729, allocations: 175.5 kB / 0.8522 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.625e-05/0.7291, allocations: 42.47 kB / 0.8523 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005289/0.7296, allocations: 274.2 kB / 0.8525 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.7296, allocations: 3.938 kB / 0.8526 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.7297, allocations: 0 / 0.8526 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.7297, allocations: 6.484 kB / 0.8526 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.7307, allocations: 0.7836 MB / 0.8533 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7307, allocations: 0 / 0.8533 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.7309, allocations: 35.67 kB / 0.8534 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7309, allocations: 6.766 kB / 0.8534 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.731, allocations: 12.78 kB / 0.8534 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.731, allocations: 2.75 kB / 0.8534 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.731, allocations: 0 / 0.8534 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007189/0.7317, allocations: 0.4896 MB / 0.8539 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.7319, allocations: 160.9 kB / 0.854 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.812e-05/0.732, allocations: 2.906 kB / 0.854 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.7323, allocations: 24.81 kB / 0.854 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.7324, allocations: 26.81 kB / 0.8541 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.871e-05/0.7325, allocations: 18.3 kB / 0.8541 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002969/0.7328, allocations: 306.6 kB / 0.8544 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7328, allocations: 3.938 kB / 0.8544 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004275/0.7332, allocations: 111.5 kB / 0.8545 GB, free: 11.64 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (senH_flow.h_out,senH.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 (17): * Single equations (assignments): 17 * 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.0003491/0.7336, allocations: 142.8 kB / 0.8546 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005737/0.7341, allocations: 237.5 kB / 0.8548 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7341, allocations: 0 / 0.8548 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.7344, allocations: 109.8 kB / 0.855 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.7355, allocations: 225.2 kB / 0.8552 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.7368, allocations: 0.8143 MB / 0.856 GB, free: 10.68 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.7372, allocations: 0.8185 MB / 0.8568 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002687/0.7375, allocations: 89.61 kB / 0.8568 GB, free: 9.879 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.285e-05/0.7376, allocations: 34.41 kB / 0.8569 GB, free: 9.867 MB / 0.6231 GB Notification: Performance of SimCode: time 2.6e-07/0.7376, allocations: 7.938 kB / 0.8569 GB, free: 9.859 MB / 0.6231 GB Notification: Performance of Templates: time 0.01389/0.7515, allocations: 8.365 MB / 0.8651 GB, free: 2.5 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.sim & ./Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.pipe 2>&1)