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.001045/0.001045, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001113/0.001113, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002086/0.002086, allocations: 279 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8917/0.8917, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 95.47 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1564, allocations: 86.98 MB / 0.6816 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4543/0.6108, allocations: 161.5 MB / 0.8393 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004267/0.6151, allocations: 3.494 MB / 0.8427 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002412/0.6154, allocations: 7.938 kB / 0.8427 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004055/0.6158, allocations: 131 kB / 0.8428 GB, free: 9.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.6169, allocations: 453.9 kB / 0.8433 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.6182, allocations: 0.5965 MB / 0.8439 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006248/0.6189, allocations: 0.6244 MB / 0.8445 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003281/0.6192, allocations: 224.7 kB / 0.8447 GB, free: 7.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001019/0.6202, allocations: 359.3 kB / 0.845 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.6205, allocations: 191.2 kB / 0.8452 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.744e-05/0.6205, allocations: 20 kB / 0.8452 GB, free: 6.898 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.6214, allocations: 0.5456 MB / 0.8458 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.6215, allocations: 99.7 kB / 0.8459 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001368/0.6216, allocations: 143.3 kB / 0.846 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000697/0.6223, allocations: 0.5597 MB / 0.8465 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.6223, allocations: 4 kB / 0.8465 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.034e-06/0.6223, allocations: 0 / 0.8465 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.6223, allocations: 0 / 0.8465 GB, free: 5.555 MB / 0.6075 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.0009573/0.6233, allocations: 0.6317 MB / 0.8472 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.6234, allocations: 12.03 kB / 0.8472 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004802/0.6238, allocations: 83.44 kB / 0.8472 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.6242, allocations: 313.3 kB / 0.8475 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.6243, allocations: 16.44 kB / 0.8476 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.169e-05/0.6243, allocations: 20 kB / 0.8476 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005735/0.6249, allocations: 312.1 kB / 0.8479 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6249, allocations: 0 / 0.8479 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.6249, allocations: 12 kB / 0.8479 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.625, allocations: 8 kB / 0.8479 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005835/0.6255, allocations: 248.8 kB / 0.8481 GB, free: 3.816 MB / 0.6075 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.001497/0.627, allocations: 1.244 MB / 0.8493 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.6274, allocations: 166.5 kB / 0.8495 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002879/0.6277, allocations: 124.8 kB / 0.8496 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005254/0.6283, allocations: 299.2 kB / 0.8499 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6283, allocations: 42.5 kB / 0.85 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.6283, allocations: 0 / 0.85 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=14): time 0.002058/0.6304, allocations: 0.5763 MB / 0.8505 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.6304, allocations: 55.41 kB / 0.8506 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.6307, allocations: 259 kB / 0.8508 GB, free: 0.8398 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.6307, allocations: 29.7 kB / 0.8508 GB, free: 0.8047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.489e-05/0.6308, allocations: 160.2 kB / 0.851 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.155e-05/0.6309, allocations: 51.3 kB / 0.851 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.281e-05/0.6309, allocations: 45.61 kB / 0.8511 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001055/0.6311, allocations: 334.8 kB / 0.8514 GB, free: 212 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002644/0.6313, allocations: 87.92 kB / 0.8515 GB, free: 124 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002859/0.6316, allocations: 136.2 kB / 0.8516 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.6322, allocations: 244 kB / 0.8519 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6322, allocations: 0 / 0.8519 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001053/0.6332, allocations: 353.8 kB / 0.8522 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.6332, allocations: 7.938 kB / 0.8522 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6333, allocations: 0 / 0.8522 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.6338, allocations: 88.89 kB / 0.8523 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.6341, allocations: 43.89 kB / 0.8523 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/0.6361, allocations: 1.735 MB / 0.854 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000228/0.6364, allocations: 31.83 kB / 0.8541 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.419e-05/0.6364, allocations: 7.984 kB / 0.8541 GB, free: 13.31 MB / 0.6231 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.0001369/0.6365, allocations: 145.8 kB / 0.8542 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.6366, allocations: 23.72 kB / 0.8542 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001059/0.6376, allocations: 367.9 kB / 0.8546 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6377, allocations: 4 kB / 0.8546 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.6377, allocations: 3.984 kB / 0.8546 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.6377, allocations: 0 / 0.8546 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.6392, allocations: 0.7825 MB / 0.8553 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.6392, allocations: 0 / 0.8553 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001776/0.6394, allocations: 31.97 kB / 0.8554 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00041/0.6398, allocations: 80.98 kB / 0.8555 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6399, allocations: 11.94 kB / 0.8555 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.6417, allocations: 1.739 MB / 0.8572 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.6417, allocations: 0 / 0.8572 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001026/0.6427, allocations: 458.2 kB / 0.8576 GB, free: 9.418 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/0.6429, allocations: 120.8 kB / 0.8577 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.6429, allocations: 4 kB / 0.8577 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.6432, allocations: 27.91 kB / 0.8577 GB, free: 9.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.69e-05/0.6432, allocations: 15.98 kB / 0.8578 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.6433, allocations: 12.06 kB / 0.8578 GB, free: 9.223 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001609/0.6434, allocations: 189.9 kB / 0.858 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6434, allocations: 0 / 0.858 GB, free: 9.039 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003916/0.6438, allocations: 79.84 kB / 0.858 GB, free: 8.961 MB / 0.6231 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.0003738/0.6442, allocations: 174.8 kB / 0.8582 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0009156/0.6451, allocations: 355.2 kB / 0.8585 GB, free: 8.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6451, allocations: 4 kB / 0.8585 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005263/0.6457, allocations: 262.5 kB / 0.8588 GB, free: 8.156 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006395/0.6463, allocations: 119.8 kB / 0.8589 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008443/0.6472, allocations: 0.4982 MB / 0.8594 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.6475, allocations: 0.7675 MB / 0.8601 GB, free: 6.715 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001641/0.6477, allocations: 58.23 kB / 0.8602 GB, free: 6.66 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.6477, allocations: 19.44 kB / 0.8602 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of SimCode: time 2.4e-07/0.6477, allocations: 0 / 0.8602 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of Templates: time 0.009999/0.6577, allocations: 5.946 MB / 0.866 GB, free: 0.7852 MB / 0.6231 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)