Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4521/0.4521, allocations: 55.02 MB / 69.96 MB, free: 8.668 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001033/0.001033, allocations: 183.6 kB / 83.98 MB, free: 10.86 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.497/1.497, allocations: 194.4 MB / 292.3 MB, free: 3.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001774/0.001774, allocations: 116.9 kB / 350.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 57.66 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.74/5.867, allocations: 2.123 GB / 2.588 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003562/5.867, allocations: 87.39 kB / 2.588 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.7825/6.65, allocations: 195.4 MB / 2.779 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.164e-06/6.65, allocations: 0 / 2.779 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.06e-05/6.65, allocations: 8 kB / 2.779 GB, free: 19.7 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.002381/6.652, allocations: 0.7934 MB / 2.78 GB, free: 18.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/6.652, allocations: 8.031 kB / 2.78 GB, free: 18.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007934/6.653, allocations: 79.36 kB / 2.78 GB, free: 18.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001077/6.654, allocations: 354.3 kB / 2.78 GB, free: 18.39 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.777e-05/6.654, allocations: 29 kB / 2.78 GB, free: 18.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001341/6.655, allocations: 39.94 kB / 2.78 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/6.656, allocations: 0.4972 MB / 2.781 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/6.656, allocations: 3.938 kB / 2.781 GB, free: 17.8 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.411e-05/6.656, allocations: 20 kB / 2.781 GB, free: 17.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/6.656, allocations: 8 kB / 2.781 GB, free: 17.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/6.657, allocations: 423.6 kB / 2.781 GB, free: 17.36 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/6.661, allocations: 1.882 MB / 2.783 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005176/6.661, allocations: 262.4 kB / 2.783 GB, free: 15.03 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/6.661, allocations: 113.1 kB / 2.784 GB, free: 14.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/6.661, allocations: 38.56 kB / 2.784 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=23): time 4.118e-06/6.661, allocations: 4 kB / 2.784 GB, free: 14.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=23): time 0.002549/6.664, allocations: 0.7645 MB / 2.784 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/6.664, allocations: 55.41 kB / 2.784 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/6.664, allocations: 279.7 kB / 2.785 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.785e-05/6.664, allocations: 29.7 kB / 2.785 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/6.665, allocations: 212.1 kB / 2.785 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.538e-05/6.665, allocations: 82.84 kB / 2.785 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.665e-05/6.665, allocations: 4 kB / 2.785 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.103e-05/6.665, allocations: 338.8 kB / 2.785 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003594/6.665, allocations: 167.9 kB / 2.785 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003823/6.666, allocations: 217 kB / 2.786 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/6.666, allocations: 213.5 kB / 2.786 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/6.666, allocations: 3.984 kB / 2.786 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001478/6.667, allocations: 0.5623 MB / 2.786 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/6.668, allocations: 37.66 kB / 2.786 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/6.668, allocations: 0 / 2.786 GB, free: 11.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007109/6.668, allocations: 116.9 kB / 2.787 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/6.669, allocations: 71.89 kB / 2.787 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/6.671, allocations: 1.739 MB / 2.788 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004752/6.671, allocations: 63.7 kB / 2.788 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/6.671, allocations: 8 kB / 2.788 GB, free: 9.668 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 (senWetBul.wetBulMod.iWat) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003479/6.672, allocations: 169.8 kB / 2.789 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/6.672, allocations: 39.52 kB / 2.789 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/6.673, allocations: 0.5127 MB / 2.789 GB, free: 8.93 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/6.673, allocations: 4 kB / 2.789 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/6.673, allocations: 0 / 2.789 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/6.673, allocations: 0 / 2.789 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001868/6.675, allocations: 0.9884 MB / 2.79 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/6.675, allocations: 0 / 2.79 GB, free: 7.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002692/6.675, allocations: 63.89 kB / 2.79 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005417/6.676, allocations: 116.8 kB / 2.79 GB, free: 7.691 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/6.676, allocations: 8 kB / 2.79 GB, free: 7.684 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/6.678, allocations: 1.755 MB / 2.792 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/6.678, allocations: 7.922 kB / 2.792 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/6.679, allocations: 0.6253 MB / 2.793 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002682/6.679, allocations: 152.6 kB / 2.793 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.851e-05/6.68, allocations: 7.984 kB / 2.793 GB, free: 4.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004436/6.68, allocations: 47.92 kB / 2.793 GB, free: 4.891 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/6.68, allocations: 19.97 kB / 2.793 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/6.68, allocations: 19.98 kB / 2.793 GB, free: 4.852 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000239/6.68, allocations: 227 kB / 2.793 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.5e-07/6.68, allocations: 0 / 2.793 GB, free: 4.629 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001017/6.681, allocations: 219.7 kB / 2.793 GB, free: 4.414 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001959/6.683, allocations: 0.9587 MB / 2.794 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00133/6.685, allocations: 0.5605 MB / 2.795 GB, free: 2.875 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/6.685, allocations: 8.062 kB / 2.795 GB, free: 2.867 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006426/6.685, allocations: 322.7 kB / 2.795 GB, free: 2.539 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/6.686, allocations: 174.2 kB / 2.795 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/6.688, allocations: 0.8346 MB / 2.796 GB, free: 1.496 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/6.688, allocations: 0.8201 MB / 2.797 GB, free: 0.6523 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004029/6.689, allocations: 82.84 kB / 2.797 GB, free: 0.5703 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/6.689, allocations: 27.44 kB / 2.797 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of SimCode: time 1.122e-06/6.689, allocations: 0 / 2.797 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of Templates: time 0.3864/7.075, allocations: 19.18 MB / 2.816 GB, free: 118.9 MB / 0.4948 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)