Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0009593/0.0009593, 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.00106/0.00106, 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 4.0.0+maint.om/package.mo): time 1.313/1.313, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001729/0.001729, allocations: 262.2 kB / 291.3 MB, free: 1.957 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.939/0.939, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 17.47 kB / 0.598 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1367, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4155/0.5522, allocations: 146.6 MB / 0.8277 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00386/0.5561, allocations: 3.269 MB / 0.8309 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002535/0.5564, allocations: 9.438 kB / 0.8309 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003369/0.5568, allocations: 90.86 kB / 0.8309 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008549/0.5576, allocations: 342.8 kB / 0.8313 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00117/0.5588, allocations: 467.2 kB / 0.8317 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006908/0.5595, allocations: 0.6992 MB / 0.8324 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003052/0.5598, allocations: 178.8 kB / 0.8326 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005776/0.5604, allocations: 294.3 kB / 0.8329 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.5607, allocations: 182.4 kB / 0.833 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.441e-05/0.5607, allocations: 10.56 kB / 0.833 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000695/0.5614, allocations: 319.2 kB / 0.8333 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.5615, allocations: 83.5 kB / 0.8334 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.211e-05/0.5616, allocations: 78.02 kB / 0.8335 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.562, allocations: 356 kB / 0.8338 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.562, allocations: 4 kB / 0.8338 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.562, allocations: 0 / 0.8338 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.543e-06/0.562, allocations: 0 / 0.8338 GB, free: 11.35 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.0008848/0.5629, allocations: 0.6006 MB / 0.8344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.926e-05/0.563, allocations: 6.281 kB / 0.8344 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000481/0.5634, allocations: 77.41 kB / 0.8345 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.5638, allocations: 297.3 kB / 0.8348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.5638, allocations: 16.62 kB / 0.8348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.5639, allocations: 21.66 kB / 0.8348 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005829/0.5644, allocations: 329 kB / 0.8351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.5645, allocations: 3.938 kB / 0.8351 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.5645, allocations: 9.094 kB / 0.8352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.5645, allocations: 5.188 kB / 0.8352 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.5651, allocations: 279.2 kB / 0.8354 GB, free: 10.33 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.001456/0.5666, allocations: 1.263 MB / 0.8367 GB, free: 9.305 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004075/0.567, allocations: 184.9 kB / 0.8368 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.5673, allocations: 142.3 kB / 0.837 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006365/0.568, allocations: 313.8 kB / 0.8373 GB, free: 8.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.568, allocations: 33.88 kB / 0.8373 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.568, allocations: 0 / 0.8373 GB, free: 8.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.002079/0.5701, allocations: 0.6279 MB / 0.8379 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.5702, allocations: 51.41 kB / 0.838 GB, free: 8.523 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002148/0.5704, allocations: 253.3 kB / 0.8382 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5704, allocations: 31.7 kB / 0.8382 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.5705, allocations: 161.7 kB / 0.8384 GB, free: 8.246 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.5706, allocations: 53.3 kB / 0.8384 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.26e-05/0.5706, allocations: 7.25 kB / 0.8384 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5707, allocations: 337.5 kB / 0.8388 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002843/0.571, allocations: 114.1 kB / 0.8389 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002853/0.5713, allocations: 151.5 kB / 0.839 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.5716, allocations: 121.8 kB / 0.8391 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.5716, allocations: 0 / 0.8391 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001073/0.5727, allocations: 381.2 kB / 0.8395 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.5727, allocations: 5.375 kB / 0.8395 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.5727, allocations: 3.938 kB / 0.8395 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/0.5733, allocations: 89.98 kB / 0.8396 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.5735, allocations: 61.31 kB / 0.8397 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/0.5754, allocations: 1.612 MB / 0.8412 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.5757, allocations: 48.47 kB / 0.8413 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.221e-05/0.5757, allocations: 2.875 kB / 0.8413 GB, free: 6.121 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 (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.0001404/0.5759, allocations: 159.2 kB / 0.8414 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.774e-05/0.5759, allocations: 24.78 kB / 0.8415 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.577, allocations: 398.8 kB / 0.8418 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.5771, allocations: 2.906 kB / 0.8418 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-06/0.5771, allocations: 0 / 0.8418 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.5771, allocations: 0 / 0.8418 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001559/0.5786, allocations: 0.8071 MB / 0.8426 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5786, allocations: 3.938 kB / 0.8426 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.5788, allocations: 40.5 kB / 0.8427 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004647/0.5793, allocations: 91.84 kB / 0.8428 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.914e-05/0.5793, allocations: 7.344 kB / 0.8428 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001744/0.5811, allocations: 1.63 MB / 0.8444 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.5811, allocations: 1.75 kB / 0.8444 GB, free: 3.512 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.5822, allocations: 484.1 kB / 0.8448 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.5823, allocations: 126.5 kB / 0.8449 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.5824, allocations: 6.906 kB / 0.8449 GB, free: 3.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.5827, allocations: 37.59 kB / 0.845 GB, free: 3.047 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.901e-05/0.5827, allocations: 20 kB / 0.845 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.5828, allocations: 2.875 kB / 0.845 GB, free: 3.035 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001581/0.5829, allocations: 185 kB / 0.8452 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5829, allocations: 0 / 0.8452 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003966/0.5833, allocations: 81.06 kB / 0.8453 GB, free: 2.891 MB / 0.5606 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 (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.0003709/0.5837, allocations: 171.6 kB / 0.8454 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0009133/0.5846, allocations: 380.9 kB / 0.8458 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5846, allocations: 4 kB / 0.8458 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0005404/0.5852, allocations: 277.2 kB / 0.8461 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007046/0.5859, allocations: 126.1 kB / 0.8462 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008206/0.5867, allocations: 0.6237 MB / 0.8468 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002978/0.5871, allocations: 0.7715 MB / 0.8475 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.5873, allocations: 55.75 kB / 0.8476 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.639e-05/0.5873, allocations: 21.38 kB / 0.8476 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of SimCode: time 1.823e-06/0.5873, allocations: 0 / 0.8476 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.009243/0.5966, allocations: 5.37 MB / 0.8529 GB, free: 14.37 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)