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/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/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001586, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001235/0.001235, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.461/1.461, allocations: 205.1 MB / 222.1 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4196/0.4196, allocations: 54.93 MB / 324.4 MB, free: 164 kB / 254.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: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002114/0.002114, allocations: 67.91 kB / 394.8 MB, free: 12.17 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1477, allocations: 59.59 MB / 454.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4428/0.5906, allocations: 159.4 MB / 0.5994 GB, free: 8.453 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004689/0.5953, allocations: 3.417 MB / 0.6028 GB, free: 5.031 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003431/0.5957, allocations: 11.94 kB / 0.6028 GB, free: 5.02 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007842/0.5966, allocations: 191.1 kB / 0.603 GB, free: 4.832 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008055/0.5974, allocations: 311.5 kB / 0.6033 GB, free: 4.527 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002118/0.5996, allocations: 0.6368 MB / 0.6039 GB, free: 3.895 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.6009, allocations: 0.9715 MB / 0.6048 GB, free: 2.922 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.6014, allocations: 331.2 kB / 0.6052 GB, free: 2.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009594/0.6023, allocations: 0.4982 MB / 0.6056 GB, free: 2.094 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.6027, allocations: 326.8 kB / 0.6059 GB, free: 1.773 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.6028, allocations: 40 kB / 0.606 GB, free: 1.734 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006185/0.6034, allocations: 351.3 kB / 0.6063 GB, free: 1.391 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001755/0.6036, allocations: 183.5 kB / 0.6065 GB, free: 1.211 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002565/0.6039, allocations: 242.9 kB / 0.6067 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009505/0.6048, allocations: 0.7674 MB / 0.6075 GB, free: 208 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.6049, allocations: 3.375 kB / 0.6075 GB, free: 208 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6049, allocations: 0 / 0.6075 GB, free: 208 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.6049, allocations: 0 / 0.6075 GB, free: 208 kB / 478.1 MB 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.00159/0.6065, allocations: 0.8096 MB / 0.6083 GB, free: 15.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.6065, allocations: 12.03 kB / 0.6083 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004659/0.607, allocations: 67.5 kB / 0.6083 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.6075, allocations: 341.1 kB / 0.6087 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.821e-05/0.6075, allocations: 29 kB / 0.6087 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.6076, allocations: 32 kB / 0.6087 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000908/0.6085, allocations: 0.4928 MB / 0.6092 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.6085, allocations: 0 / 0.6092 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.6086, allocations: 15.94 kB / 0.6092 GB, free: 14.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.6086, allocations: 12 kB / 0.6092 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008479/0.6094, allocations: 399.6 kB / 0.6096 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002632/0.6121, allocations: 1.894 MB / 0.6115 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005416/0.6126, allocations: 259.3 kB / 0.6117 GB, free: 11.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/0.613, allocations: 181.3 kB / 0.6119 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003852/0.6134, allocations: 117 kB / 0.612 GB, free: 11.26 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.536e-05/0.6135, allocations: 45.14 kB / 0.612 GB, free: 11.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=23): time 1.542e-06/0.6135, allocations: 0 / 0.612 GB, free: 11.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=23): time 0.002429/0.6159, allocations: 0.7335 MB / 0.6128 GB, free: 10.45 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.255e-05/0.616, allocations: 51.41 kB / 0.6128 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003011/0.6163, allocations: 320.5 kB / 0.6131 GB, free: 10.06 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.05e-05/0.6163, allocations: 33.64 kB / 0.6131 GB, free: 10.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.6165, allocations: 208.1 kB / 0.6133 GB, free: 9.816 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/0.6165, allocations: 82.84 kB / 0.6134 GB, free: 9.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/0.6166, allocations: 57.61 kB / 0.6135 GB, free: 9.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.6168, allocations: 342.8 kB / 0.6138 GB, free: 9.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003561/0.6171, allocations: 153.2 kB / 0.614 GB, free: 9.18 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.6175, allocations: 209.6 kB / 0.6142 GB, free: 8.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007505/0.6183, allocations: 384.3 kB / 0.6145 GB, free: 8.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.6183, allocations: 0.9375 kB / 0.6145 GB, free: 8.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001406/0.6197, allocations: 0.5384 MB / 0.615 GB, free: 8.004 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.829e-05/0.6198, allocations: 33.7 kB / 0.6151 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6198, allocations: 5.188 kB / 0.6151 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.6204, allocations: 104.8 kB / 0.6152 GB, free: 7.855 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.6208, allocations: 75.83 kB / 0.6153 GB, free: 7.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.6231, allocations: 1.884 MB / 0.6171 GB, free: 5.758 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.6234, allocations: 59.62 kB / 0.6172 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.6235, allocations: 8 kB / 0.6172 GB, free: 5.691 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000222/0.6237, allocations: 174.2 kB / 0.6173 GB, free: 5.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.852e-05/0.6238, allocations: 31.62 kB / 0.6174 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.6251, allocations: 498.5 kB / 0.6178 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.6251, allocations: 4 kB / 0.6178 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6251, allocations: 7.922 kB / 0.6178 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6251, allocations: 0 / 0.6178 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.6268, allocations: 0.9638 MB / 0.6188 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6268, allocations: 0 / 0.6188 GB, free: 3.945 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.6271, allocations: 63.98 kB / 0.6188 GB, free: 3.883 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000475/0.6276, allocations: 96.84 kB / 0.6189 GB, free: 3.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.6276, allocations: 8 kB / 0.6189 GB, free: 3.777 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002043/0.6297, allocations: 1.906 MB / 0.6208 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6297, allocations: 0 / 0.6208 GB, free: 1.727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.6309, allocations: 0.5739 MB / 0.6214 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.6311, allocations: 156.6 kB / 0.6215 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.798e-05/0.6312, allocations: 11.98 kB / 0.6215 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/0.6316, allocations: 35.88 kB / 0.6216 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.6317, allocations: 31.84 kB / 0.6216 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.6317, allocations: 11.98 kB / 0.6216 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002221/0.632, allocations: 235 kB / 0.6218 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.632, allocations: 0 / 0.6218 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005069/0.6325, allocations: 127.8 kB / 0.6219 GB, free: 0.5078 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004043/0.6329, allocations: 167.6 kB / 0.6221 GB, free: 360 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001183/0.6341, allocations: 0.5621 MB / 0.6227 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6341, allocations: 4 kB / 0.6227 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005965/0.6347, allocations: 311.8 kB / 0.623 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009222/0.6356, allocations: 196.2 kB / 0.6231 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.6368, allocations: 0.8375 MB / 0.624 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.6371, allocations: 0.8159 MB / 0.6248 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003167/0.6374, allocations: 76.48 kB / 0.6248 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.685e-05/0.6375, allocations: 27.44 kB / 0.6249 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.685e-06/0.6375, allocations: 0 / 0.6249 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.01315/0.6507, allocations: 8.369 MB / 0.633 GB, free: 5.246 MB / 0.4981 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)