Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.78/1.78, allocations: 288.4 MB / 303.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 190 kB / 372.3 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.4 MB / 0.631 GB, free: 9.914 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007505/0.0007504, allocations: 96.48 kB / 0.7444 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004682/0.0004683, allocations: 12.88 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2314, allocations: 115.3 MB / 0.9801 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.669/0.9005, allocations: 146.6 MB / 1.123 GB, free: 1.977 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004352/0.9049, allocations: 3.26 MB / 1.127 GB, free: 1.707 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.9053, allocations: 7.938 kB / 1.127 GB, free: 1.703 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.9058, allocations: 90.91 kB / 1.127 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001368/0.9071, allocations: 396.4 kB / 1.127 GB, free: 1.578 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002026/0.9092, allocations: 0.5053 MB / 1.127 GB, free: 1.504 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001144/0.9103, allocations: 0.6985 MB / 1.128 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.9107, allocations: 190.6 kB / 1.128 GB, free: 1.379 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009583/0.9117, allocations: 288 kB / 1.129 GB, free: 1.328 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.912, allocations: 184.4 kB / 1.129 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.949e-05/0.912, allocations: 15.25 kB / 1.129 GB, free: 1.289 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.9133, allocations: 0.6193 MB / 1.129 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.9134, allocations: 78.48 kB / 1.129 GB, free: 1.223 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.9137, allocations: 151 kB / 1.13 GB, free: 17.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005256/0.9142, allocations: 386.9 kB / 1.13 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9142, allocations: 1.188 kB / 1.13 GB, free: 17.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.9142, allocations: 0 / 1.13 GB, free: 17.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.9142, allocations: 0 / 1.13 GB, free: 17.12 MB / 0.698 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.0009295/0.9152, allocations: 0.5972 MB / 1.131 GB, free: 16.66 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.9152, allocations: 14.53 kB / 1.131 GB, free: 16.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004841/0.9157, allocations: 74.95 kB / 1.131 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.916, allocations: 290.4 kB / 1.131 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.605e-05/0.9161, allocations: 12.97 kB / 1.131 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.9161, allocations: 19.75 kB / 1.131 GB, free: 16.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.9167, allocations: 330.8 kB / 1.131 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.9167, allocations: 0 / 1.131 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.9167, allocations: 8.062 kB / 1.131 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-06/0.9168, allocations: 9.094 kB / 1.131 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006063/0.9174, allocations: 285.1 kB / 1.132 GB, free: 16.31 MB / 0.698 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.001503/0.9189, allocations: 1.26 MB / 1.133 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.9193, allocations: 188.3 kB / 1.133 GB, free: 15.4 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003064/0.9196, allocations: 142.7 kB / 1.133 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.9202, allocations: 318.4 kB / 1.133 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.9202, allocations: 35.42 kB / 1.133 GB, free: 15.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.874e-06/0.9202, allocations: 4 kB / 1.133 GB, free: 15.05 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.002131/0.9224, allocations: 0.6207 MB / 1.134 GB, free: 14.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.9224, allocations: 55.41 kB / 1.134 GB, free: 14.82 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.9227, allocations: 251.9 kB / 1.134 GB, free: 14.71 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/0.9227, allocations: 32.45 kB / 1.134 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.883e-05/0.9228, allocations: 163.7 kB / 1.135 GB, free: 14.57 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.9229, allocations: 51.78 kB / 1.135 GB, free: 14.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.9229, allocations: 0 / 1.135 GB, free: 14.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.923, allocations: 333.5 kB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002762/0.9233, allocations: 113.9 kB / 1.135 GB, free: 14.23 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002903/0.9236, allocations: 151.8 kB / 1.135 GB, free: 14.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005434/0.9242, allocations: 274.1 kB / 1.135 GB, free: 14.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9242, allocations: 0 / 1.135 GB, free: 14.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001071/0.9253, allocations: 390.7 kB / 1.136 GB, free: 14.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.9253, allocations: 3.375 kB / 1.136 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.9253, allocations: 7.375 kB / 1.136 GB, free: 14.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005926/0.9259, allocations: 87.38 kB / 1.136 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.9261, allocations: 51.34 kB / 1.136 GB, free: 14.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/0.9283, allocations: 1.605 MB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003187/0.9287, allocations: 46.05 kB / 1.138 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.9287, allocations: 9.344 kB / 1.138 GB, free: 12.72 MB / 0.698 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.0002046/0.9289, allocations: 148.9 kB / 1.138 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.358e-05/0.929, allocations: 25.03 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.9301, allocations: 395.7 kB / 1.138 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.9301, allocations: 3.031 kB / 1.138 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.9301, allocations: 0 / 1.138 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.9302, allocations: 1.75 kB / 1.138 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001696/0.9319, allocations: 0.8099 MB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.9319, allocations: 0.8125 kB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/0.9321, allocations: 48.72 kB / 1.139 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004999/0.9326, allocations: 92.53 kB / 1.139 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.9327, allocations: 5.688 kB / 1.139 GB, free: 12.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001801/0.9345, allocations: 1.633 MB / 1.141 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.9345, allocations: 0 / 1.141 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.9356, allocations: 491.8 kB / 1.141 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.9358, allocations: 116.2 kB / 1.141 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.9358, allocations: 9.172 kB / 1.141 GB, free: 10.48 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002681/0.9361, allocations: 35.22 kB / 1.141 GB, free: 10.47 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.9362, allocations: 17.67 kB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.9362, allocations: 6.594 kB / 1.141 GB, free: 10.46 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00018/0.9364, allocations: 185.6 kB / 1.141 GB, free: 10.36 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9364, allocations: 0 / 1.141 GB, free: 10.36 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000441/0.9369, allocations: 87.98 kB / 1.142 GB, free: 10.34 MB / 0.698 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.000383/0.9373, allocations: 162.4 kB / 1.142 GB, free: 10.23 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001095/0.9384, allocations: 396.5 kB / 1.142 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.9384, allocations: 0 / 1.142 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006079/0.939, allocations: 274.9 kB / 1.142 GB, free: 9.895 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.9398, allocations: 114.4 kB / 1.142 GB, free: 9.859 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009065/0.9407, allocations: 0.5999 MB / 1.143 GB, free: 9.461 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.9411, allocations: 0.7766 MB / 1.144 GB, free: 8.719 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002332/0.9413, allocations: 51.53 kB / 1.144 GB, free: 8.695 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.9414, allocations: 23.75 kB / 1.144 GB, free: 8.684 MB / 0.698 GB Notification: Performance of SimCode: time 3.2e-07/0.9414, allocations: 0 / 1.144 GB, free: 8.684 MB / 0.698 GB Notification: Performance of Templates: time 0.01102/0.9524, allocations: 5.436 MB / 1.149 GB, free: 5.977 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)