Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.0009279/0.0009278, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008878/0.0008878, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 222.1 MB, free: 5.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.55/1.55, allocations: 251.9 MB / 0.51 GB, free: 4.816 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005168/0.0005169, allocations: 19.12 kB / 0.6241 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5376, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1767/0.7144, allocations: 135.6 MB / 0.8604 GB, free: 3.465 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0061/0.7205, allocations: 3.719 MB / 0.864 GB, free: 15.74 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004586/0.721, allocations: 11.88 kB / 0.8641 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008476/0.7219, allocations: 159.3 kB / 0.8642 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001391/0.7233, allocations: 327 kB / 0.8645 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001178/0.7245, allocations: 350 kB / 0.8649 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0006849/0.7252, allocations: 331.8 kB / 0.8652 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004047/0.7256, allocations: 157.3 kB / 0.8653 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.7267, allocations: 299.1 kB / 0.8656 GB, free: 14.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000376/0.7271, allocations: 123.5 kB / 0.8657 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.7272, allocations: 12 kB / 0.8657 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.7274, allocations: 71.88 kB / 0.8658 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.7275, allocations: 67.8 kB / 0.8659 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.7276, allocations: 73.56 kB / 0.8659 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003552/0.728, allocations: 195.5 kB / 0.8661 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.728, allocations: 0 / 0.8661 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.567e-06/0.728, allocations: 4 kB / 0.8661 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.494e-05/0.7281, allocations: 0 / 0.8661 GB, free: 13.6 MB / 0.6856 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.001013/0.7291, allocations: 0.4907 MB / 0.8666 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7291, allocations: 15.97 kB / 0.8666 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.7293, allocations: 23.72 kB / 0.8666 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004936/0.7298, allocations: 274.2 kB / 0.8669 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7298, allocations: 12 kB / 0.8669 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.7299, allocations: 20 kB / 0.8669 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.7304, allocations: 270 kB / 0.8672 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.7304, allocations: 4 kB / 0.8672 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.434e-05/0.7304, allocations: 4 kB / 0.8672 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.7305, allocations: 7.938 kB / 0.8672 GB, free: 12.37 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003911/0.7309, allocations: 167.7 kB / 0.8674 GB, free: 12.2 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001869/0.7327, allocations: 1.367 MB / 0.8687 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004516/0.7332, allocations: 187.7 kB / 0.8689 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003918/0.7336, allocations: 129 kB / 0.869 GB, free: 10.36 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.7336, allocations: 38.5 kB / 0.869 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/0.7337, allocations: 0 / 0.869 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of matching and sorting (n=10): time 0.0006433/0.7343, allocations: 229.7 kB / 0.8693 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.7344, allocations: 187.9 kB / 0.8694 GB, free: 9.855 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.7347, allocations: 279 kB / 0.8697 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7348, allocations: 25.7 kB / 0.8697 GB, free: 9.547 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001326/0.7349, allocations: 148 kB / 0.8699 GB, free: 9.398 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 3.858e-05/0.735, allocations: 39.45 kB / 0.8699 GB, free: 9.359 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.735, allocations: 4 kB / 0.8699 GB, free: 9.355 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7351, allocations: 330.8 kB / 0.8702 GB, free: 9.023 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.7353, allocations: 51.95 kB / 0.8703 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.7355, allocations: 114.8 kB / 0.8704 GB, free: 8.836 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.7356, allocations: 63.91 kB / 0.8704 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.7356, allocations: 4 kB / 0.8705 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005017/0.7361, allocations: 197.2 kB / 0.8706 GB, free: 8.57 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7362, allocations: 4 kB / 0.8706 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.7362, allocations: 4 kB / 0.8706 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7362, allocations: 11.89 kB / 0.8707 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001394/0.7363, allocations: 31.98 kB / 0.8707 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7364, allocations: 4 kB / 0.8707 GB, free: 8.516 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.7365, allocations: 36.11 kB / 0.8707 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.615e-05/0.7366, allocations: 11.98 kB / 0.8707 GB, free: 8.469 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.7367, allocations: 149.7 kB / 0.8709 GB, free: 8.312 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001375/0.7369, allocations: 27.84 kB / 0.8709 GB, free: 8.285 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/0.7372, allocations: 146.8 kB / 0.871 GB, free: 8.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.7373, allocations: 4 kB / 0.8711 GB, free: 8.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.7373, allocations: 3.953 kB / 0.8711 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/0.7373, allocations: 7.984 kB / 0.8711 GB, free: 8.117 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.7383, allocations: 0.7575 MB / 0.8718 GB, free: 7.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.7383, allocations: 7.953 kB / 0.8718 GB, free: 7.277 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.7385, allocations: 27.92 kB / 0.8718 GB, free: 7.25 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.7385, allocations: 3.938 kB / 0.8718 GB, free: 7.246 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.7385, allocations: 8 kB / 0.8718 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7385, allocations: 0 / 0.8718 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.7385, allocations: 7.984 kB / 0.8719 GB, free: 7.23 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006143/0.7391, allocations: 404.2 kB / 0.8722 GB, free: 6.773 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.7393, allocations: 116.8 kB / 0.8724 GB, free: 6.641 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.7393, allocations: 11.95 kB / 0.8724 GB, free: 6.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.7394, allocations: 11.98 kB / 0.8724 GB, free: 6.617 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.777e-05/0.7395, allocations: 11.94 kB / 0.8724 GB, free: 6.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.7395, allocations: 4 kB / 0.8724 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000201/0.7397, allocations: 205.9 kB / 0.8726 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7397, allocations: 0 / 0.8726 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0003441/0.7401, allocations: 59.98 kB / 0.8726 GB, free: 6.344 MB / 0.6856 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 (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.0003318/0.7404, allocations: 143 kB / 0.8728 GB, free: 6.203 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.7408, allocations: 136.1 kB / 0.8729 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.7408, allocations: 0 / 0.8729 GB, free: 6.07 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.741, allocations: 63.91 kB / 0.873 GB, free: 6.008 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000689/0.7417, allocations: 124.5 kB / 0.8731 GB, free: 5.891 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009431/0.7426, allocations: 0.5454 MB / 0.8736 GB, free: 5.305 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005347/0.7432, allocations: 0.7677 MB / 0.8744 GB, free: 4.512 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001601/0.7433, allocations: 58.44 kB / 0.8744 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.117e-05/0.7434, allocations: 19.44 kB / 0.8744 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of SimCode: time 2.1e-07/0.7434, allocations: 0 / 0.8744 GB, free: 4.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.007824/0.7512, allocations: 3.784 MB / 0.8781 GB, free: 0.707 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) Environment - environmentSimulation: