Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7027/0.7027, allocations: 128.7 MB / 144.5 MB, free: 1.367 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001225/0.001225, allocations: 182.2 kB / 174.2 MB, free: 5.941 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.415/1.415, allocations: 205 MB / 408.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001126/0.001125, allocations: 86.3 kB / 485.1 MB, free: 13.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 54.34 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1342, allocations: 75.48 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb): time 0.4559/0.5902, allocations: 168.7 MB / 0.7964 GB, free: 12.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.005223/0.5955, allocations: 3.579 MB / 0.7999 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005565/0.5961, allocations: 9.219 kB / 0.7999 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0005264/0.5966, allocations: 106.8 kB / 0.8 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.5982, allocations: 422 kB / 0.8004 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001617/0.5998, allocations: 0.5092 MB / 0.8009 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001369/0.6012, allocations: 0.8732 MB / 0.8018 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005949/0.6018, allocations: 199.3 kB / 0.8019 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.6041, allocations: 315.1 kB / 0.8022 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004722/0.6046, allocations: 212.7 kB / 0.8024 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 7.447e-05/0.6047, allocations: 13.16 kB / 0.8025 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001604/0.6063, allocations: 0.6274 MB / 0.8031 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001598/0.6065, allocations: 86.94 kB / 0.8032 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002495/0.6067, allocations: 127.5 kB / 0.8033 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.6083, allocations: 0.5763 MB / 0.8038 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.6083, allocations: 0 / 0.8038 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6083, allocations: 0 / 0.8038 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.869e-05/0.6083, allocations: 0 / 0.8038 GB, free: 11.28 MB / 0.5261 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.001609/0.61, allocations: 0.628 MB / 0.8045 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.61, allocations: 8.719 kB / 0.8045 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006271/0.6106, allocations: 67.47 kB / 0.8045 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.6112, allocations: 301.6 kB / 0.8048 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.6112, allocations: 15.12 kB / 0.8048 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.6113, allocations: 20.44 kB / 0.8048 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008813/0.6122, allocations: 315.6 kB / 0.8051 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.6122, allocations: 5.094 kB / 0.8052 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.116e-05/0.6122, allocations: 5.562 kB / 0.8052 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/0.6123, allocations: 5.219 kB / 0.8052 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007949/0.6131, allocations: 245.2 kB / 0.8054 GB, free: 10.27 MB / 0.5261 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.001882/0.615, allocations: 1.243 MB / 0.8066 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.6154, allocations: 177.2 kB / 0.8068 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003793/0.6158, allocations: 122.5 kB / 0.8069 GB, free: 9.172 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.6165, allocations: 310.6 kB / 0.8072 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.84e-05/0.6165, allocations: 34.78 kB / 0.8072 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 4.519e-06/0.6166, allocations: 0 / 0.8072 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=14): time 0.002458/0.619, allocations: 0.5751 MB / 0.8078 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/0.6191, allocations: 56.5 kB / 0.8078 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.6194, allocations: 261 kB / 0.8081 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.704e-05/0.6194, allocations: 30.45 kB / 0.8081 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.6195, allocations: 160 kB / 0.8083 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.742e-05/0.6196, allocations: 48.39 kB / 0.8083 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.059e-05/0.6197, allocations: 36.89 kB / 0.8084 GB, free: 8.141 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6198, allocations: 334.9 kB / 0.8087 GB, free: 7.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.6202, allocations: 102.5 kB / 0.8088 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.6205, allocations: 137.6 kB / 0.8089 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000567/0.6211, allocations: 239.3 kB / 0.8091 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6211, allocations: 7.312 kB / 0.8091 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001131/0.6222, allocations: 351 kB / 0.8095 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.6223, allocations: 8.75 kB / 0.8095 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.6223, allocations: 2.719 kB / 0.8095 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005972/0.6229, allocations: 84.73 kB / 0.8096 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002388/0.6231, allocations: 49.27 kB / 0.8096 GB, free: 7.441 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.6253, allocations: 1.607 MB / 0.8112 GB, free: 6.031 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002995/0.6256, allocations: 34.22 kB / 0.8112 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.969e-05/0.6257, allocations: 8.969 kB / 0.8112 GB, free: 6.012 MB / 0.5261 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.0001684/0.6259, allocations: 153.2 kB / 0.8114 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.7e-05/0.6259, allocations: 25.08 kB / 0.8114 GB, free: 5.871 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.6271, allocations: 360.2 kB / 0.8117 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.6271, allocations: 6.062 kB / 0.8117 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.6271, allocations: 4 kB / 0.8117 GB, free: 5.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.6271, allocations: 3.938 kB / 0.8117 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.6288, allocations: 0.7664 MB / 0.8125 GB, free: 5.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.6288, allocations: 3.984 kB / 0.8125 GB, free: 5.246 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.629, allocations: 33.16 kB / 0.8125 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004932/0.6295, allocations: 88.17 kB / 0.8126 GB, free: 5.203 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.6296, allocations: 6.688 kB / 0.8126 GB, free: 5.199 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001843/0.6314, allocations: 1.621 MB / 0.8142 GB, free: 3.801 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.6314, allocations: 3.938 kB / 0.8142 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.6331, allocations: 1.152 MB / 0.8153 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.66e-05/0.6332, allocations: 95.7 kB / 0.8154 GB, free: 2.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.76e-05/0.6333, allocations: 18.58 kB / 0.8154 GB, free: 2.809 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.6335, allocations: 20.73 kB / 0.8155 GB, free: 2.801 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.6336, allocations: 21.88 kB / 0.8155 GB, free: 2.789 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.579e-05/0.6337, allocations: 13.28 kB / 0.8155 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001669/0.6338, allocations: 181.3 kB / 0.8157 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6338, allocations: 0 / 0.8157 GB, free: 2.688 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005355/0.6344, allocations: 76.78 kB / 0.8157 GB, free: 2.684 MB / 0.5261 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.0003673/0.6348, allocations: 166.4 kB / 0.8159 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001037/0.6358, allocations: 364.8 kB / 0.8162 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6358, allocations: 2.062 kB / 0.8163 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.6364, allocations: 256.1 kB / 0.8165 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007529/0.6372, allocations: 109.4 kB / 0.8166 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.6383, allocations: 0.7215 MB / 0.8173 GB, free: 1.688 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.6387, allocations: 0.7719 MB / 0.8181 GB, free: 0.9492 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002233/0.6389, allocations: 54.81 kB / 0.8181 GB, free: 0.9219 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.134e-05/0.639, allocations: 23.81 kB / 0.8181 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of SimCode: time 4.61e-07/0.639, allocations: 3.938 kB / 0.8181 GB, free: 0.9062 MB / 0.5261 GB Notification: Performance of Templates: time 0.01005/0.6491, allocations: 5.646 MB / 0.8237 GB, free: 14.1 MB / 0.5417 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.TemperatureWetBulb.pipe 2>&1)