Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001208/0.001208, allocations: 112.7 kB / 17.04 MB, free: 5.812 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.001224/0.001224, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6851/0.6851, allocations: 115.1 MB / 407 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 67.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3588/0.36, allocations: 76.14 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.171/0.5311, allocations: 161.5 MB / 0.7153 GB, free: 2.516 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004285/0.5354, allocations: 3.486 MB / 0.7187 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002477/0.5356, allocations: 11.94 kB / 0.7187 GB, free: 15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.536, allocations: 134.9 kB / 0.7188 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001007/0.5371, allocations: 449.9 kB / 0.7192 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.5384, allocations: 0.6019 MB / 0.7198 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006015/0.539, allocations: 0.6283 MB / 0.7204 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003143/0.5393, allocations: 228.5 kB / 0.7207 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.5404, allocations: 344.3 kB / 0.721 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.5407, allocations: 195.2 kB / 0.7212 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.913e-05/0.5407, allocations: 20 kB / 0.7212 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008193/0.5415, allocations: 0.5495 MB / 0.7217 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.5416, allocations: 95.77 kB / 0.7218 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.5418, allocations: 147.3 kB / 0.722 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006929/0.5425, allocations: 0.5609 MB / 0.7225 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5425, allocations: 4 kB / 0.7225 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5425, allocations: 0 / 0.7225 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.5425, allocations: 0 / 0.7225 GB, free: 11.09 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009464/0.5435, allocations: 0.6349 MB / 0.7231 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.896e-05/0.5435, allocations: 12.03 kB / 0.7231 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004698/0.544, allocations: 75.52 kB / 0.7232 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000398/0.5444, allocations: 309.3 kB / 0.7235 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.5444, allocations: 16.44 kB / 0.7235 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.5445, allocations: 20 kB / 0.7236 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005809/0.5451, allocations: 312.1 kB / 0.7238 GB, free: 9.617 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.5451, allocations: 4 kB / 0.7239 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/0.5451, allocations: 8 kB / 0.7239 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.5451, allocations: 7.938 kB / 0.7239 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.5457, allocations: 248.6 kB / 0.7241 GB, free: 9.355 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00148/0.5472, allocations: 1.244 MB / 0.7253 GB, free: 8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003941/0.5476, allocations: 174.5 kB / 0.7255 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5479, allocations: 128.7 kB / 0.7256 GB, free: 7.691 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005288/0.5485, allocations: 303.2 kB / 0.7259 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5485, allocations: 30.56 kB / 0.7259 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 2.565e-06/0.5485, allocations: 4 kB / 0.7259 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002112/0.5506, allocations: 0.5801 MB / 0.7265 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.974e-05/0.5507, allocations: 59.34 kB / 0.7266 GB, free: 6.621 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002451/0.5509, allocations: 263 kB / 0.7268 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.387e-05/0.551, allocations: 25.7 kB / 0.7268 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5511, allocations: 172.1 kB / 0.727 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.5511, allocations: 43.36 kB / 0.727 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.87e-05/0.5512, allocations: 37.72 kB / 0.7271 GB, free: 6.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.5513, allocations: 330.8 kB / 0.7274 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002661/0.5516, allocations: 99.91 kB / 0.7275 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/0.5519, allocations: 132.2 kB / 0.7276 GB, free: 5.496 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5524, allocations: 232.1 kB / 0.7278 GB, free: 5.254 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.5524, allocations: 4 kB / 0.7278 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001079/0.5535, allocations: 353.8 kB / 0.7282 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.5535, allocations: 4 kB / 0.7282 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.5536, allocations: 8.125 kB / 0.7282 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005652/0.5541, allocations: 88.73 kB / 0.7283 GB, free: 4.793 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002116/0.5544, allocations: 47.91 kB / 0.7283 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00203/0.5564, allocations: 1.728 MB / 0.73 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.5566, allocations: 27.81 kB / 0.73 GB, free: 2.848 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5567, allocations: 8 kB / 0.73 GB, free: 2.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (16): * 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: 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.0001462/0.5568, allocations: 148.5 kB / 0.7302 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.927e-05/0.5569, allocations: 19.72 kB / 0.7302 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.558, allocations: 375.9 kB / 0.7306 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.558, allocations: 0 / 0.7306 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-06/0.558, allocations: 0 / 0.7306 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.558, allocations: 192 / 0.7306 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.5595, allocations: 0.7784 MB / 0.7313 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5595, allocations: 0 / 0.7313 GB, free: 1.445 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.5597, allocations: 39.95 kB / 0.7314 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004116/0.5601, allocations: 80.86 kB / 0.7314 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.5602, allocations: 7.938 kB / 0.7314 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001877/0.5621, allocations: 1.743 MB / 0.7331 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.5621, allocations: 0 / 0.7331 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.5631, allocations: 452.3 kB / 0.7336 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.5633, allocations: 124.8 kB / 0.7337 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.5633, allocations: 11.92 kB / 0.7337 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.5636, allocations: 27.91 kB / 0.7337 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.5636, allocations: 15.98 kB / 0.7337 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.5637, allocations: 8 kB / 0.7337 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001683/0.5638, allocations: 186 kB / 0.7339 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5638, allocations: 0 / 0.7339 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003795/0.5642, allocations: 83.83 kB / 0.734 GB, free: 14.49 MB / 0.5762 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 (12): * Single equations (assignments): 11 * 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.000337/0.5646, allocations: 171.9 kB / 0.7342 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0009117/0.5655, allocations: 358.7 kB / 0.7345 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5655, allocations: 0 / 0.7345 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005377/0.566, allocations: 262.6 kB / 0.7348 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006421/0.5667, allocations: 117.1 kB / 0.7349 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007788/0.5675, allocations: 0.4898 MB / 0.7354 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.5678, allocations: 0.7714 MB / 0.7361 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001607/0.568, allocations: 54.23 kB / 0.7362 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.477e-05/0.568, allocations: 27.38 kB / 0.7362 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.71e-07/0.568, allocations: 8 kB / 0.7362 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of Templates: time 0.01036/0.5784, allocations: 5.935 MB / 0.742 GB, free: 6.32 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)