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.0008512/0.0008513, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009286/0.0009285, allocations: 168.7 kB / 15.95 MB, free: 204 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.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3963/0.3963, allocations: 55.01 MB / 325.4 MB, free: 0.6484 MB / 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.0007745/0.0007748, allocations: 20 kB / 396.7 MB, free: 11.68 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4079/0.4087, allocations: 60.72 MB / 457.4 MB, free: 38.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.184/0.5928, allocations: 146.7 MB / 0.5899 GB, free: 4.516 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.5974, allocations: 3.226 MB / 0.5931 GB, free: 1.289 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003355/0.5978, allocations: 4 kB / 0.5931 GB, free: 1.285 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005461/0.5983, allocations: 143 kB / 0.5932 GB, free: 1.145 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006668/0.599, allocations: 302.4 kB / 0.5935 GB, free: 0.8477 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.6007, allocations: 0.533 MB / 0.594 GB, free: 328 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.6019, allocations: 1.104 MB / 0.5951 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004402/0.6024, allocations: 265 kB / 0.5954 GB, free: 14.95 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009231/0.6033, allocations: 434.3 kB / 0.5958 GB, free: 14.53 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.6037, allocations: 294.9 kB / 0.5961 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.428e-05/0.6038, allocations: 20 kB / 0.5961 GB, free: 14.22 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.6044, allocations: 219.7 kB / 0.5963 GB, free: 14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001772/0.6046, allocations: 151.5 kB / 0.5964 GB, free: 13.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.6047, allocations: 109.5 kB / 0.5965 GB, free: 13.74 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006038/0.6053, allocations: 0.5222 MB / 0.5971 GB, free: 13.22 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.6054, allocations: 0 / 0.5971 GB, free: 13.22 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.6054, allocations: 4 kB / 0.5971 GB, free: 13.21 MB / 478.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.6054, allocations: 0.75 kB / 0.5971 GB, free: 13.21 MB / 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.001363/0.6067, allocations: 0.7274 MB / 0.5978 GB, free: 12.43 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.6068, allocations: 12.03 kB / 0.5978 GB, free: 12.42 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004545/0.6073, allocations: 74.34 kB / 0.5978 GB, free: 12.35 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004421/0.6077, allocations: 333.3 kB / 0.5982 GB, free: 11.99 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.6078, allocations: 34.7 kB / 0.5982 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.6078, allocations: 32 kB / 0.5982 GB, free: 11.92 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008954/0.6087, allocations: 0.5014 MB / 0.5987 GB, free: 11.4 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6087, allocations: 7.938 kB / 0.5987 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.56e-05/0.6088, allocations: 12 kB / 0.5987 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/0.6088, allocations: 11.95 kB / 0.5988 GB, free: 11.37 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008787/0.6097, allocations: 427.6 kB / 0.5992 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.6123, allocations: 1.917 MB / 0.601 GB, free: 8.855 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.6128, allocations: 278.1 kB / 0.6013 GB, free: 8.578 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003762/0.6132, allocations: 194 kB / 0.6015 GB, free: 8.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003642/0.6136, allocations: 129 kB / 0.6016 GB, free: 8.242 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.6136, allocations: 45.2 kB / 0.6016 GB, free: 8.191 MB / 478.1 MB Notification: Performance of pre-optimization done (n=23): time 2.295e-06/0.6136, allocations: 0 / 0.6016 GB, free: 8.191 MB / 478.1 MB Notification: Performance of matching and sorting (n=23): time 0.002341/0.616, allocations: 0.7782 MB / 0.6024 GB, free: 7.387 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.616, allocations: 59.41 kB / 0.6025 GB, free: 7.316 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.6164, allocations: 316.5 kB / 0.6028 GB, free: 7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.6165, allocations: 29.7 kB / 0.6028 GB, free: 6.965 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000148/0.6167, allocations: 208.1 kB / 0.603 GB, free: 6.758 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.52e-05/0.6167, allocations: 82.83 kB / 0.6031 GB, free: 6.676 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.6168, allocations: 4.938 kB / 0.6031 GB, free: 6.672 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.6169, allocations: 338.8 kB / 0.6034 GB, free: 6.332 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.6173, allocations: 167.9 kB / 0.6036 GB, free: 6.168 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004066/0.6177, allocations: 217 kB / 0.6038 GB, free: 5.938 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004163/0.6182, allocations: 219.3 kB / 0.604 GB, free: 5.719 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.6182, allocations: 0 / 0.604 GB, free: 5.719 MB / 478.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001372/0.6195, allocations: 0.5735 MB / 0.6045 GB, free: 5.129 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.136e-05/0.6196, allocations: 33.7 kB / 0.6046 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6196, allocations: 0 / 0.6046 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.6202, allocations: 116.9 kB / 0.6047 GB, free: 4.973 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.6205, allocations: 70.3 kB / 0.6047 GB, free: 4.906 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002431/0.623, allocations: 1.753 MB / 0.6065 GB, free: 3.016 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.6233, allocations: 63.72 kB / 0.6065 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.6234, allocations: 13.38 kB / 0.6065 GB, free: 2.941 MB / 478.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 (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.0002693/0.6237, allocations: 173.8 kB / 0.6067 GB, free: 2.762 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.245e-05/0.6238, allocations: 39.58 kB / 0.6067 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.6251, allocations: 0.5144 MB / 0.6072 GB, free: 2.203 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.6251, allocations: 4 kB / 0.6072 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.6251, allocations: 0 / 0.6072 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6252, allocations: 0 / 0.6072 GB, free: 2.199 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.6271, allocations: 1.003 MB / 0.6082 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.6271, allocations: 8.891 kB / 0.6082 GB, free: 1.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.6274, allocations: 59.89 kB / 0.6083 GB, free: 1.062 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005321/0.6279, allocations: 112.8 kB / 0.6084 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.376e-05/0.628, allocations: 4 kB / 0.6084 GB, free: 0.9453 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002166/0.6301, allocations: 1.778 MB / 0.6101 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6302, allocations: 3.938 kB / 0.6101 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.6315, allocations: 0.6114 MB / 0.6107 GB, free: 14.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002451/0.6318, allocations: 152.6 kB / 0.6109 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.552e-05/0.6318, allocations: 8 kB / 0.6109 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6322, allocations: 47.95 kB / 0.6109 GB, free: 14.17 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.6324, allocations: 20.72 kB / 0.611 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-05/0.6324, allocations: 15.98 kB / 0.611 GB, free: 14.13 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002752/0.6327, allocations: 227 kB / 0.6112 GB, free: 13.91 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6327, allocations: 0 / 0.6112 GB, free: 13.91 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005751/0.6333, allocations: 141.3 kB / 0.6113 GB, free: 13.77 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 (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.0004277/0.6337, allocations: 174.9 kB / 0.6115 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00118/0.6349, allocations: 0.5623 MB / 0.612 GB, free: 13.03 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6349, allocations: 3.938 kB / 0.612 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.6356, allocations: 338 kB / 0.6124 GB, free: 12.68 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009654/0.6365, allocations: 172.7 kB / 0.6125 GB, free: 12.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.6378, allocations: 0.8348 MB / 0.6133 GB, free: 11.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000429/0.6383, allocations: 0.8159 MB / 0.6141 GB, free: 10.81 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003538/0.6386, allocations: 80.59 kB / 0.6142 GB, free: 10.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.536e-05/0.6387, allocations: 23.44 kB / 0.6142 GB, free: 10.71 MB / 494.1 MB Notification: Performance of SimCode: time 5.11e-07/0.6387, allocations: 3.938 kB / 0.6142 GB, free: 10.71 MB / 494.1 MB Notification: Performance of Templates: time 0.01458/0.6533, allocations: 7.763 MB / 0.6218 GB, free: 3.062 MB / 494.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TemperatureWetBulb.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: