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.0009324/0.0009324, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.007762/0.007762, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.4 MB, free: 5.789 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.587/1.587, allocations: 252 MB / 0.5105 GB, free: 4.637 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.0005213/0.0005213, allocations: 20.56 kB / 0.6249 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5763/0.5768, allocations: 106.3 MB / 0.7287 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1864/0.7632, allocations: 157.2 MB / 0.8822 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005607/0.7689, allocations: 4.545 MB / 0.8866 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003953/0.7693, allocations: 7.938 kB / 0.8866 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005117/0.7698, allocations: 95.34 kB / 0.8867 GB, free: 9.098 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001035/0.7709, allocations: 318.7 kB / 0.887 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008798/0.7718, allocations: 238.1 kB / 0.8873 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001083/0.7729, allocations: 0.7913 MB / 0.888 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.7733, allocations: 161.5 kB / 0.8882 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001235/0.7746, allocations: 418.4 kB / 0.8886 GB, free: 7.195 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004406/0.775, allocations: 207.2 kB / 0.8888 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 5.031e-05/0.7751, allocations: 8 kB / 0.8888 GB, free: 6.984 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.7754, allocations: 63.95 kB / 0.8889 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.7755, allocations: 79.77 kB / 0.8889 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001793/0.7757, allocations: 137.1 kB / 0.8891 GB, free: 6.703 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003778/0.7761, allocations: 279 kB / 0.8893 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.7761, allocations: 0 / 0.8893 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.094e-06/0.7761, allocations: 0 / 0.8893 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.7761, allocations: 0 / 0.8893 GB, free: 6.43 MB / 0.7012 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.0008383/0.777, allocations: 498.3 kB / 0.8898 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.777, allocations: 12.03 kB / 0.8898 GB, free: 5.883 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.7771, allocations: 27.66 kB / 0.8898 GB, free: 5.855 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003784/0.7775, allocations: 274.2 kB / 0.8901 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.7775, allocations: 16 kB / 0.8901 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.7776, allocations: 16 kB / 0.8901 GB, free: 5.516 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004729/0.778, allocations: 262.1 kB / 0.8904 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.7781, allocations: 4 kB / 0.8904 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.7781, allocations: 15.94 kB / 0.8904 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-06/0.7781, allocations: 4 kB / 0.8904 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003671/0.7785, allocations: 162.3 kB / 0.8906 GB, free: 5.043 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.78, allocations: 1.375 MB / 0.8919 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.7803, allocations: 191.7 kB / 0.8921 GB, free: 3.332 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001667/0.7805, allocations: 101.1 kB / 0.8922 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003615/0.7808, allocations: 129 kB / 0.8923 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.7809, allocations: 46.48 kB / 0.8924 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.7809, allocations: 3.938 kB / 0.8924 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006125/0.7815, allocations: 221.6 kB / 0.8926 GB, free: 2.789 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.7816, allocations: 183.9 kB / 0.8927 GB, free: 2.566 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.7819, allocations: 287 kB / 0.893 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.174e-05/0.7819, allocations: 25.86 kB / 0.893 GB, free: 2.25 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.782, allocations: 155.8 kB / 0.8932 GB, free: 2.094 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.7821, allocations: 31.47 kB / 0.8932 GB, free: 2.062 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.611e-05/0.7821, allocations: 21.7 kB / 0.8932 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.7822, allocations: 338.8 kB / 0.8936 GB, free: 1.695 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.7824, allocations: 43.97 kB / 0.8936 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.7825, allocations: 126 kB / 0.8937 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.7828, allocations: 166.7 kB / 0.8939 GB, free: 1.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.7828, allocations: 4 kB / 0.8939 GB, free: 1.316 MB / 0.7012 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003794/0.7832, allocations: 189.3 kB / 0.8941 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.7833, allocations: 16.16 kB / 0.8941 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.7833, allocations: 0 / 0.8941 GB, free: 1.109 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.7833, allocations: 7.938 kB / 0.8941 GB, free: 1.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.7834, allocations: 31.92 kB / 0.8941 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.7835, allocations: 4 kB / 0.8941 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001703/0.7836, allocations: 36.05 kB / 0.8942 GB, free: 1.031 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.7837, allocations: 4 kB / 0.8942 GB, free: 1.027 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7838, allocations: 153.7 kB / 0.8943 GB, free: 0.8672 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.7839, allocations: 31.66 kB / 0.8943 GB, free: 0.8359 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003411/0.7843, allocations: 139 kB / 0.8945 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.7843, allocations: 4 kB / 0.8945 GB, free: 0.6875 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.7843, allocations: 4 kB / 0.8945 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.7843, allocations: 0 / 0.8945 GB, free: 0.6836 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008307/0.7851, allocations: 0.773 MB / 0.8952 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.7852, allocations: 160 / 0.8952 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.7853, allocations: 27.98 kB / 0.8953 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7853, allocations: 4 kB / 0.8953 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.7853, allocations: 0 / 0.8953 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.7853, allocations: 4 kB / 0.8953 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7853, allocations: 3.938 kB / 0.8953 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.7859, allocations: 359.3 kB / 0.8956 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.313e-05/0.786, allocations: 112.8 kB / 0.8957 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.786, allocations: 4.078 kB / 0.8957 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7861, allocations: 15.94 kB / 0.8957 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/0.7862, allocations: 15.92 kB / 0.8958 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.7862, allocations: 4 kB / 0.8958 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001958/0.7864, allocations: 210 kB / 0.896 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7864, allocations: 0 / 0.896 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003306/0.7867, allocations: 55.91 kB / 0.896 GB, free: 14.99 MB / 0.7169 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 (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.0003452/0.7871, allocations: 147.4 kB / 0.8962 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.7875, allocations: 127.9 kB / 0.8963 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.7875, allocations: 0 / 0.8963 GB, free: 14.72 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.7876, allocations: 72.77 kB / 0.8964 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/0.7884, allocations: 124.7 kB / 0.8965 GB, free: 14.53 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008363/0.7893, allocations: 0.5554 MB / 0.897 GB, free: 13.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.7896, allocations: 0.756 MB / 0.8978 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001669/0.7898, allocations: 54.38 kB / 0.8978 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.7898, allocations: 23.44 kB / 0.8978 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.7898, allocations: 0 / 0.8978 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.009114/0.7989, allocations: 3.93 MB / 0.9017 GB, free: 9.199 MB / 0.7169 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: