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.1418/0.1425, allocations: 82.22 MB / 0.5934 GB, free: 6.008 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate): time 0.4649/0.6074, allocations: 140.3 MB / 0.7304 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005845/0.6133, allocations: 5.255 MB / 0.7356 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006559/0.614, allocations: 9.844 kB / 0.7356 GB, free: 15.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.6151, allocations: 192.3 kB / 0.7357 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.6173, allocations: 477.2 kB / 0.7362 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.6187, allocations: 375.4 kB / 0.7366 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0009759/0.6197, allocations: 0.6058 MB / 0.7371 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005074/0.6202, allocations: 307.2 kB / 0.7374 GB, free: 15.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.622, allocations: 0.5952 MB / 0.738 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004575/0.6225, allocations: 286.4 kB / 0.7383 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.6225, allocations: 25.59 kB / 0.7383 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.6228, allocations: 79.47 kB / 0.7384 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.623, allocations: 156.7 kB / 0.7385 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.6231, allocations: 121.6 kB / 0.7387 GB, free: 15.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005126/0.6237, allocations: 482.2 kB / 0.7391 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6237, allocations: 1.406 kB / 0.7391 GB, free: 15.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.374e-06/0.6237, allocations: 2.203 kB / 0.7391 GB, free: 15.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.6237, allocations: 0 / 0.7391 GB, free: 15.11 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.001245/0.6249, allocations: 0.6796 MB / 0.7398 GB, free: 14.61 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.625, allocations: 8.812 kB / 0.7398 GB, free: 14.61 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002606/0.6253, allocations: 65.09 kB / 0.7399 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/0.6258, allocations: 356.4 kB / 0.7402 GB, free: 14.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.236e-05/0.6259, allocations: 56.02 kB / 0.7403 GB, free: 14.31 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.8e-05/0.626, allocations: 42.73 kB / 0.7403 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007136/0.6267, allocations: 420.2 kB / 0.7407 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.6267, allocations: 1.219 kB / 0.7407 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.593e-05/0.6268, allocations: 16.5 kB / 0.7407 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.6268, allocations: 9.094 kB / 0.7407 GB, free: 14.25 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005814/0.6274, allocations: 336.5 kB / 0.741 GB, free: 14.19 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.6295, allocations: 1.44 MB / 0.7424 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000323/0.6298, allocations: 186.5 kB / 0.7426 GB, free: 13.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.6302, allocations: 130.9 kB / 0.7427 GB, free: 13.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.6302, allocations: 41.5 kB / 0.7428 GB, free: 13.04 MB / 0.545 GB Notification: Performance of pre-optimization done (n=17): time 1.874e-06/0.6302, allocations: 0 / 0.7428 GB, free: 13.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=17): time 0.0006122/0.6308, allocations: 333.4 kB / 0.7431 GB, free: 12.95 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.61e-05/0.6309, allocations: 54.81 kB / 0.7432 GB, free: 12.89 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003683/0.6313, allocations: 425.3 kB / 0.7436 GB, free: 12.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.642e-05/0.6313, allocations: 34.52 kB / 0.7436 GB, free: 12.68 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001552/0.6315, allocations: 223.5 kB / 0.7438 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.808e-05/0.6315, allocations: 67.19 kB / 0.7439 GB, free: 12.49 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.6315, allocations: 3.438 kB / 0.7439 GB, free: 12.49 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.6317, allocations: 349.4 kB / 0.7442 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.6319, allocations: 102.3 kB / 0.7443 GB, free: 12.14 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.6321, allocations: 159.7 kB / 0.7445 GB, free: 12.05 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.6324, allocations: 117.8 kB / 0.7446 GB, free: 12.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6324, allocations: 5.25 kB / 0.7446 GB, free: 12.04 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005455/0.6329, allocations: 331.6 kB / 0.7449 GB, free: 11.94 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6329, allocations: 9.672 kB / 0.7449 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.633, allocations: 6.469 kB / 0.7449 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.633, allocations: 2.375 kB / 0.7449 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.6332, allocations: 59.25 kB / 0.745 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.6332, allocations: 5.188 kB / 0.745 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.6335, allocations: 61.61 kB / 0.745 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.777e-05/0.6335, allocations: 8.812 kB / 0.745 GB, free: 11.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.6337, allocations: 169.8 kB / 0.7452 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.246e-05/0.6338, allocations: 40.55 kB / 0.7452 GB, free: 11.74 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005396/0.6343, allocations: 276.5 kB / 0.7455 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6343, allocations: 1.062 kB / 0.7455 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6344, allocations: 5.266 kB / 0.7455 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.6344, allocations: 3.938 kB / 0.7455 GB, free: 11.64 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.6354, allocations: 0.7957 MB / 0.7463 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6354, allocations: 2.75 kB / 0.7463 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.6356, allocations: 40.78 kB / 0.7463 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6356, allocations: 4.719 kB / 0.7463 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.6356, allocations: 12.31 kB / 0.7463 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.6356, allocations: 1.375 kB / 0.7464 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.6356, allocations: 2.75 kB / 0.7464 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.6364, allocations: 0.5737 MB / 0.7469 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000203/0.6366, allocations: 159.7 kB / 0.7471 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/0.6367, allocations: 6.062 kB / 0.7471 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003691/0.6371, allocations: 38.77 kB / 0.7471 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.007e-05/0.6372, allocations: 18.69 kB / 0.7471 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.269e-05/0.6372, allocations: 21.44 kB / 0.7471 GB, free: 10.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003137/0.6375, allocations: 304.6 kB / 0.7474 GB, free: 10.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6375, allocations: 0 / 0.7474 GB, free: 10.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004269/0.638, allocations: 114.2 kB / 0.7475 GB, free: 10.48 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003573/0.6383, allocations: 149.7 kB / 0.7477 GB, free: 10.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004707/0.6388, allocations: 236.8 kB / 0.7479 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.6388, allocations: 3.797 kB / 0.7479 GB, free: 10.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.639, allocations: 109.9 kB / 0.748 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.64, allocations: 218.7 kB / 0.7482 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001131/0.6412, allocations: 0.9681 MB / 0.7492 GB, free: 9.559 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.6415, allocations: 0.8307 MB / 0.75 GB, free: 8.797 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002776/0.6418, allocations: 86.91 kB / 0.7501 GB, free: 8.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.212e-05/0.6419, allocations: 30.88 kB / 0.7501 GB, free: 8.754 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.6419, allocations: 0 / 0.7501 GB, free: 8.754 MB / 0.545 GB Notification: Performance of Templates: time 0.01165/0.6536, allocations: 7.51 MB / 0.7574 GB, free: 5.074 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: