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.005616/0.005616, allocations: 102 kB / 15.73 MB, free: 6.043 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.001261/0.001262, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.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.422/1.422, allocations: 251.7 MB / 0.5094 GB, free: 412 kB / 430.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.001433/0.001433, allocations: 71.89 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6952/0.6966, allocations: 104.7 MB / 0.828 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2016/0.8983, allocations: 161.5 MB / 0.9857 GB, free: 496 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.007285/0.9056, allocations: 4.613 MB / 0.9902 GB, free: 11.86 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006847/0.9064, allocations: 11.94 kB / 0.9902 GB, free: 11.85 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007319/0.9071, allocations: 131.1 kB / 0.9904 GB, free: 11.72 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.9086, allocations: 334.4 kB / 0.9907 GB, free: 11.39 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001053/0.9097, allocations: 285.9 kB / 0.991 GB, free: 11.11 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.9107, allocations: 0.5573 MB / 0.9915 GB, free: 10.55 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004872/0.9112, allocations: 193.2 kB / 0.9917 GB, free: 10.37 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001378/0.9126, allocations: 470.3 kB / 0.9921 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004794/0.9131, allocations: 183.3 kB / 0.9923 GB, free: 9.727 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.565e-05/0.9132, allocations: 16 kB / 0.9923 GB, free: 9.711 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002769/0.9135, allocations: 87.84 kB / 0.9924 GB, free: 9.625 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001451/0.9136, allocations: 83.73 kB / 0.9925 GB, free: 9.543 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002114/0.9139, allocations: 119.4 kB / 0.9926 GB, free: 9.426 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006595/0.9145, allocations: 289.5 kB / 0.9929 GB, free: 9.145 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.194e-05/0.9146, allocations: 3.984 kB / 0.9929 GB, free: 9.141 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9146, allocations: 3.938 kB / 0.9929 GB, free: 9.137 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.9146, allocations: 0 / 0.9929 GB, free: 9.137 MB / 0.795 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.001088/0.9157, allocations: 0.5294 MB / 0.9934 GB, free: 8.559 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9157, allocations: 12.03 kB / 0.9934 GB, free: 8.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.9158, allocations: 27.66 kB / 0.9934 GB, free: 8.52 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005075/0.9164, allocations: 290.1 kB / 0.9937 GB, free: 8.195 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.9164, allocations: 8 kB / 0.9937 GB, free: 8.188 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.261e-05/0.9165, allocations: 23.98 kB / 0.9938 GB, free: 8.164 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/0.9169, allocations: 265.6 kB / 0.994 GB, free: 7.867 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.917, allocations: 7.938 kB / 0.994 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.917, allocations: 7.938 kB / 0.994 GB, free: 7.852 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.917, allocations: 12 kB / 0.994 GB, free: 7.84 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.9174, allocations: 147.8 kB / 0.9942 GB, free: 7.695 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.9189, allocations: 1.364 MB / 0.9955 GB, free: 6.242 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003098/0.9192, allocations: 183.7 kB / 0.9957 GB, free: 6.008 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.9194, allocations: 101 kB / 0.9958 GB, free: 5.891 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003374/0.9198, allocations: 121 kB / 0.9959 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.9198, allocations: 38.5 kB / 0.9959 GB, free: 5.707 MB / 0.795 GB Notification: Performance of pre-optimization done (n=10): time 3.897e-06/0.9198, allocations: 0 / 0.9959 GB, free: 5.707 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0006361/0.9205, allocations: 209.7 kB / 0.9961 GB, free: 5.496 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.9206, allocations: 187.9 kB / 0.9963 GB, free: 5.27 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.9209, allocations: 283 kB / 0.9966 GB, free: 4.988 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.9209, allocations: 29.7 kB / 0.9966 GB, free: 4.953 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.9211, allocations: 151.7 kB / 0.9968 GB, free: 4.801 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-05/0.9211, allocations: 35.55 kB / 0.9968 GB, free: 4.766 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.9212, allocations: 29.72 kB / 0.9968 GB, free: 4.73 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.9213, allocations: 338.8 kB / 0.9971 GB, free: 4.391 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.9215, allocations: 43.95 kB / 0.9972 GB, free: 4.348 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.9217, allocations: 109.1 kB / 0.9973 GB, free: 4.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002971/0.922, allocations: 162.7 kB / 0.9974 GB, free: 4.035 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.922, allocations: 0 / 0.9974 GB, free: 4.035 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000365/0.9224, allocations: 181.5 kB / 0.9976 GB, free: 3.852 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.9224, allocations: 11.94 kB / 0.9976 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.9224, allocations: 0 / 0.9976 GB, free: 3.84 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.9224, allocations: 4 kB / 0.9976 GB, free: 3.836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.9226, allocations: 48.12 kB / 0.9977 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.9226, allocations: 4 kB / 0.9977 GB, free: 3.785 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.9228, allocations: 27.67 kB / 0.9977 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.9228, allocations: 12 kB / 0.9977 GB, free: 3.746 MB / 0.795 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.0001397/0.923, allocations: 141.8 kB / 0.9978 GB, free: 3.598 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.9231, allocations: 27.66 kB / 0.9979 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000328/0.9234, allocations: 135 kB / 0.998 GB, free: 3.426 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.9235, allocations: 7.938 kB / 0.998 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.9235, allocations: 0 / 0.998 GB, free: 3.418 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9235, allocations: 4 kB / 0.998 GB, free: 3.414 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008835/0.9244, allocations: 0.7652 MB / 0.9988 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9244, allocations: 0 / 0.9988 GB, free: 2.574 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.9245, allocations: 31.92 kB / 0.9988 GB, free: 2.543 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.9245, allocations: 4.031 kB / 0.9988 GB, free: 2.539 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.9245, allocations: 7.984 kB / 0.9988 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.9246, allocations: 0 / 0.9988 GB, free: 2.531 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9246, allocations: 4 kB / 0.9988 GB, free: 2.527 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.9251, allocations: 335.4 kB / 0.9991 GB, free: 2.168 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.9252, allocations: 112.8 kB / 0.9992 GB, free: 2.039 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.9253, allocations: 4 kB / 0.9992 GB, free: 2.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.9254, allocations: 12.05 kB / 0.9993 GB, free: 2.023 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.9255, allocations: 15.88 kB / 0.9993 GB, free: 2.008 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.9255, allocations: 4 kB / 0.9993 GB, free: 2.004 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0002123/0.9257, allocations: 205.9 kB / 0.9995 GB, free: 1.809 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9257, allocations: 96 / 0.9995 GB, free: 1.809 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003769/0.9261, allocations: 63.92 kB / 0.9995 GB, free: 1.746 MB / 0.795 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.0004512/0.9266, allocations: 141.9 kB / 0.9997 GB, free: 1.605 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.927, allocations: 119.8 kB / 0.9998 GB, free: 1.488 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.927, allocations: 0 / 0.9998 GB, free: 1.488 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.9271, allocations: 60.66 kB / 0.9998 GB, free: 1.43 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.9279, allocations: 123.2 kB / 1 GB, free: 1.312 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009982/0.9289, allocations: 491 kB / 1 GB, free: 0.793 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/0.9293, allocations: 0.7558 MB / 1.001 GB, free: 12 kB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.9294, allocations: 50.33 kB / 1.001 GB, free: 15.96 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.261e-05/0.9295, allocations: 23.42 kB / 1.001 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of SimCode: time 4.3e-07/0.9295, allocations: 0 / 1.001 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of Templates: time 0.009736/0.9392, allocations: 4.186 MB / 1.005 GB, free: 11.83 MB / 0.8106 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (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)