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.1395/0.1414, allocations: 80.83 MB / 0.5899 GB, free: 7.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4592/0.6007, allocations: 165.3 MB / 0.7513 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006592/0.6073, allocations: 6.485 MB / 0.7576 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005941/0.6079, allocations: 15.31 kB / 0.7576 GB, free: 13.5 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007702/0.6088, allocations: 222.1 kB / 0.7578 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.6103, allocations: 0.6833 MB / 0.7585 GB, free: 13.29 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001043/0.6114, allocations: 427.3 kB / 0.7589 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000959/0.6124, allocations: 1.108 MB / 0.76 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.6128, allocations: 370.4 kB / 0.7604 GB, free: 12.76 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.6141, allocations: 0.7595 MB / 0.7611 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004194/0.6145, allocations: 415.1 kB / 0.7615 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.351e-05/0.6146, allocations: 44.47 kB / 0.7615 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.6148, allocations: 112.8 kB / 0.7616 GB, free: 12.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001757/0.615, allocations: 200.9 kB / 0.7618 GB, free: 12.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000268/0.6153, allocations: 268.5 kB / 0.7621 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.616, allocations: 0.6643 MB / 0.7627 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.616, allocations: 0 / 0.7627 GB, free: 11.87 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.433e-06/0.616, allocations: 0 / 0.7627 GB, free: 11.87 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.616, allocations: 2.125 kB / 0.7627 GB, free: 11.87 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.00126/0.6173, allocations: 0.7638 MB / 0.7635 GB, free: 11.3 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.6173, allocations: 9.969 kB / 0.7635 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002339/0.6175, allocations: 58.16 kB / 0.7636 GB, free: 11.28 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.618, allocations: 361.7 kB / 0.7639 GB, free: 11 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.231e-05/0.6181, allocations: 58.81 kB / 0.764 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.6181, allocations: 38.19 kB / 0.764 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000693/0.6188, allocations: 413 kB / 0.7644 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6189, allocations: 0 / 0.7644 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.6189, allocations: 22.59 kB / 0.7644 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.6189, allocations: 10.41 kB / 0.7644 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005475/0.6195, allocations: 329.7 kB / 0.7647 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.6215, allocations: 1.431 MB / 0.7661 GB, free: 9.828 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.6218, allocations: 179.3 kB / 0.7663 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.622, allocations: 96.11 kB / 0.7664 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003268/0.6224, allocations: 123.2 kB / 0.7665 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.6224, allocations: 33.34 kB / 0.7665 GB, free: 9.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.6224, allocations: 3.125 kB / 0.7665 GB, free: 9.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006374/0.623, allocations: 319.2 kB / 0.7668 GB, free: 9.504 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6231, allocations: 54.16 kB / 0.7669 GB, free: 9.441 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003863/0.6235, allocations: 440 kB / 0.7673 GB, free: 9.262 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.553e-05/0.6235, allocations: 33.27 kB / 0.7674 GB, free: 9.227 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001277/0.6237, allocations: 219.9 kB / 0.7676 GB, free: 9.082 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.6237, allocations: 63.83 kB / 0.7676 GB, free: 9.035 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.786e-05/0.6238, allocations: 58.33 kB / 0.7677 GB, free: 9.012 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.6239, allocations: 346.9 kB / 0.768 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.6241, allocations: 91.03 kB / 0.7681 GB, free: 8.672 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002026/0.6243, allocations: 154.7 kB / 0.7682 GB, free: 8.586 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.6247, allocations: 259.6 kB / 0.7685 GB, free: 8.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.6247, allocations: 2.781 kB / 0.7685 GB, free: 8.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005006/0.6252, allocations: 327.7 kB / 0.7688 GB, free: 8.379 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.6253, allocations: 5.344 kB / 0.7688 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6253, allocations: 2.781 kB / 0.7688 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.146e-05/0.6253, allocations: 2.094 kB / 0.7688 GB, free: 8.379 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.6255, allocations: 59.59 kB / 0.7689 GB, free: 8.367 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.6255, allocations: 9 kB / 0.7689 GB, free: 8.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.6258, allocations: 56.64 kB / 0.7689 GB, free: 8.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.6258, allocations: 10.25 kB / 0.7689 GB, free: 8.328 MB / 0.545 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.0001695/0.626, allocations: 168.7 kB / 0.7691 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.501e-05/0.6261, allocations: 43.28 kB / 0.7691 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.6266, allocations: 269.2 kB / 0.7694 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.6266, allocations: 2.25 kB / 0.7694 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.6266, allocations: 8.344 kB / 0.7694 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.6266, allocations: 0 / 0.7694 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009827/0.6276, allocations: 0.7887 MB / 0.7702 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.6276, allocations: 3.984 kB / 0.7702 GB, free: 7.445 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.6278, allocations: 39.56 kB / 0.7702 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6278, allocations: 2.125 kB / 0.7702 GB, free: 7.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.188e-05/0.6278, allocations: 6.531 kB / 0.7702 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.6278, allocations: 2.844 kB / 0.7702 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.6278, allocations: 2.406 kB / 0.7702 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/0.6285, allocations: 0.5011 MB / 0.7707 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001712/0.6287, allocations: 156.2 kB / 0.7709 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.535e-05/0.6288, allocations: 3.406 kB / 0.7709 GB, free: 6.918 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003589/0.6291, allocations: 28.91 kB / 0.7709 GB, free: 6.906 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.6292, allocations: 15.86 kB / 0.7709 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.623e-05/0.6292, allocations: 18.31 kB / 0.7709 GB, free: 6.891 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002734/0.6295, allocations: 314.5 kB / 0.7712 GB, free: 6.695 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6295, allocations: 0 / 0.7712 GB, free: 6.695 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004042/0.6299, allocations: 115.4 kB / 0.7713 GB, free: 6.676 MB / 0.545 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.0003289/0.6303, allocations: 137 kB / 0.7715 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004565/0.6307, allocations: 245.1 kB / 0.7717 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6308, allocations: 2.531 kB / 0.7717 GB, free: 6.457 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.6309, allocations: 101.7 kB / 0.7718 GB, free: 6.414 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001094/0.632, allocations: 239.8 kB / 0.772 GB, free: 6.305 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.6332, allocations: 0.9456 MB / 0.773 GB, free: 5.602 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003387/0.6336, allocations: 0.8192 MB / 0.7738 GB, free: 4.84 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.6339, allocations: 94.17 kB / 0.7739 GB, free: 4.793 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.503e-05/0.634, allocations: 32.62 kB / 0.7739 GB, free: 4.785 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.634, allocations: 0 / 0.7739 GB, free: 4.785 MB / 0.545 GB Notification: Performance of Templates: time 0.01309/0.6471, allocations: 8.107 MB / 0.7818 GB, free: 0.8164 MB / 0.545 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)