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.001279/0.001279, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001516/0.001516, allocations: 172.7 kB / 15.95 MB, free: 208 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.665/1.665, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.599/1.599, allocations: 252 MB / 0.5102 GB, free: 4.742 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.0009866/0.0009867, allocations: 12 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5985/0.5995, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1844/0.784, allocations: 146.6 MB / 0.8713 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.005358/0.7894, allocations: 4.278 MB / 0.8755 GB, free: 4.062 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002877/0.7897, allocations: 7.938 kB / 0.8755 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.7902, allocations: 95.34 kB / 0.8756 GB, free: 3.961 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.791, allocations: 246.8 kB / 0.8758 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006798/0.7916, allocations: 226.1 kB / 0.876 GB, free: 3.5 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000686/0.7923, allocations: 0.6665 MB / 0.8767 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.7926, allocations: 149.3 kB / 0.8768 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.7934, allocations: 358.5 kB / 0.8772 GB, free: 2.336 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003175/0.7938, allocations: 187.2 kB / 0.8774 GB, free: 2.152 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.748e-05/0.7938, allocations: 16 kB / 0.8774 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.794, allocations: 63.92 kB / 0.8774 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.7941, allocations: 75.78 kB / 0.8775 GB, free: 2 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.7942, allocations: 69.58 kB / 0.8776 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0003157/0.7945, allocations: 203.5 kB / 0.8778 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.7945, allocations: 0 / 0.8778 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.412e-06/0.7945, allocations: 0 / 0.8778 GB, free: 1.727 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.7946, allocations: 0 / 0.8778 GB, free: 1.727 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.0007446/0.7953, allocations: 0.4907 MB / 0.8782 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.7954, allocations: 8.031 kB / 0.8783 GB, free: 1.18 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.602e-05/0.7954, allocations: 31.72 kB / 0.8783 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.7958, allocations: 274.2 kB / 0.8785 GB, free: 0.8398 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.7958, allocations: 12 kB / 0.8786 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.7958, allocations: 20 kB / 0.8786 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.7963, allocations: 262 kB / 0.8788 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.7963, allocations: 4 kB / 0.8788 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.7963, allocations: 8 kB / 0.8788 GB, free: 0.5039 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.7963, allocations: 4 kB / 0.8788 GB, free: 0.5 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.7967, allocations: 163.7 kB / 0.879 GB, free: 348 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.798, allocations: 1.379 MB / 0.8803 GB, free: 14.87 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002906/0.7983, allocations: 183.7 kB / 0.8805 GB, free: 14.63 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000176/0.7985, allocations: 97.11 kB / 0.8806 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004085/0.7989, allocations: 129 kB / 0.8807 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.799, allocations: 50.5 kB / 0.8808 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.799, allocations: 0 / 0.8808 GB, free: 14.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0005922/0.7996, allocations: 225.6 kB / 0.881 GB, free: 14.09 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.702e-05/0.7997, allocations: 183.9 kB / 0.8812 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.8, allocations: 287 kB / 0.8814 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.8, allocations: 25.7 kB / 0.8815 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.8001, allocations: 143.9 kB / 0.8816 GB, free: 13.41 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.8002, allocations: 43.55 kB / 0.8817 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.8002, allocations: 4 kB / 0.8817 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.8003, allocations: 334.8 kB / 0.882 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.8004, allocations: 43.97 kB / 0.882 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.8006, allocations: 122.8 kB / 0.8821 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001371/0.8008, allocations: 59.97 kB / 0.8822 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.8008, allocations: 0 / 0.8822 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003553/0.8012, allocations: 209.5 kB / 0.8824 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8012, allocations: 5.719 kB / 0.8824 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.186e-06/0.8012, allocations: 4 kB / 0.8824 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.8012, allocations: 7.953 kB / 0.8824 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.8014, allocations: 27.98 kB / 0.8824 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.8014, allocations: 7.938 kB / 0.8824 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.8016, allocations: 35.86 kB / 0.8825 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.495e-05/0.8016, allocations: 8 kB / 0.8825 GB, free: 12.47 MB / 0.7012 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.0001327/0.8017, allocations: 145.8 kB / 0.8826 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.8019, allocations: 19.81 kB / 0.8826 GB, free: 12.3 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003545/0.8022, allocations: 146.8 kB / 0.8828 GB, free: 12.15 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.8022, allocations: 7.953 kB / 0.8828 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.8022, allocations: 0 / 0.8828 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/0.8023, allocations: 4 kB / 0.8828 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.8031, allocations: 0.7692 MB / 0.8835 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.8031, allocations: 4 kB / 0.8835 GB, free: 11.29 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.8033, allocations: 27.92 kB / 0.8836 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.8033, allocations: 3.938 kB / 0.8836 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.8033, allocations: 4 kB / 0.8836 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.8033, allocations: 3.984 kB / 0.8836 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8033, allocations: 4 kB / 0.8836 GB, free: 11.25 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005456/0.8039, allocations: 355.5 kB / 0.8839 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-05/0.804, allocations: 116.7 kB / 0.884 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.804, allocations: 7.984 kB / 0.884 GB, free: 10.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.8041, allocations: 12.12 kB / 0.8841 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/0.8042, allocations: 15.98 kB / 0.8841 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.8042, allocations: 8.094 kB / 0.8841 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0001998/0.8044, allocations: 209.9 kB / 0.8843 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8044, allocations: 0 / 0.8843 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003361/0.8048, allocations: 52 kB / 0.8843 GB, free: 10.44 MB / 0.7012 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.0003249/0.8051, allocations: 142.8 kB / 0.8845 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003314/0.8054, allocations: 127.8 kB / 0.8846 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.8055, allocations: 0 / 0.8846 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.8056, allocations: 68.64 kB / 0.8847 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007163/0.8063, allocations: 131.2 kB / 0.8848 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000769/0.8071, allocations: 0.5456 MB / 0.8853 GB, free: 9.395 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.8075, allocations: 0.756 MB / 0.8861 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001426/0.8076, allocations: 58.19 kB / 0.8861 GB, free: 8.551 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.8077, allocations: 19.44 kB / 0.8861 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of SimCode: time 2.51e-07/0.8077, allocations: 0 / 0.8861 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of Templates: time 0.00748/0.8152, allocations: 3.797 MB / 0.8898 GB, free: 4.793 MB / 0.7012 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: