Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004391/0.004391, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001236/0.001236, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002092/0.002092, allocations: 286.6 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9445/0.9445, allocations: 169.3 MB / 0.4983 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 92.17 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1632, allocations: 86.99 MB / 0.7659 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi): time 0.002927/0.1661, allocations: 1.662 MB / 0.7675 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.4843/0.6505, allocations: 149.7 MB / 0.9137 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001143/0.6506, allocations: 4 kB / 0.9137 GB, free: 11.83 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.6508, allocations: 35.66 kB / 0.9137 GB, free: 11.8 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002712/0.6511, allocations: 53.89 kB / 0.9138 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004972/0.6516, allocations: 181.1 kB / 0.914 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.6519, allocations: 163.5 kB / 0.9141 GB, free: 11.41 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.652, allocations: 29.11 kB / 0.9141 GB, free: 11.38 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.6533, allocations: 192.4 kB / 0.9143 GB, free: 11.23 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.6534, allocations: 59.75 kB / 0.9144 GB, free: 11.17 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.6535, allocations: 8 kB / 0.9144 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003223/0.6538, allocations: 171.8 kB / 0.9146 GB, free: 11 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.6538, allocations: 23.92 kB / 0.9146 GB, free: 10.97 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 7.456e-05/0.6539, allocations: 59.66 kB / 0.9146 GB, free: 10.91 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.6543, allocations: 203.9 kB / 0.9148 GB, free: 10.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.6543, allocations: 0 / 0.9148 GB, free: 10.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6543, allocations: 0 / 0.9148 GB, free: 10.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.6543, allocations: 0 / 0.9148 GB, free: 10.71 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0008797/0.6552, allocations: 471.5 kB / 0.9153 GB, free: 10.21 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.6553, allocations: 9.719 kB / 0.9153 GB, free: 10.2 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.6553, allocations: 42.73 kB / 0.9153 GB, free: 10.15 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006315/0.6559, allocations: 56.78 kB / 0.9154 GB, free: 10.09 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002201/0.6562, allocations: 206.7 kB / 0.9156 GB, free: 9.852 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.6562, allocations: 11.95 kB / 0.9156 GB, free: 9.84 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.6562, allocations: 4 kB / 0.9156 GB, free: 9.836 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.6566, allocations: 188.2 kB / 0.9158 GB, free: 9.633 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6567, allocations: 4 kB / 0.9158 GB, free: 9.629 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.6567, allocations: 4 kB / 0.9158 GB, free: 9.625 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.6567, allocations: 4 kB / 0.9158 GB, free: 9.621 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004779/0.6572, allocations: 143.8 kB / 0.9159 GB, free: 9.48 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.6584, allocations: 0.8282 MB / 0.9167 GB, free: 8.574 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003918/0.6588, allocations: 126.5 kB / 0.9169 GB, free: 8.441 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.659, allocations: 80.8 kB / 0.9169 GB, free: 8.359 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.659, allocations: 4 kB / 0.9169 GB, free: 8.355 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.6591, allocations: 34.56 kB / 0.917 GB, free: 8.312 MB / 0.67 GB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.6591, allocations: 0 / 0.917 GB, free: 8.312 MB / 0.67 GB Notification: Performance of matching and sorting (n=8): time 0.001859/0.6609, allocations: 467.3 kB / 0.9174 GB, free: 7.828 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.661, allocations: 55.34 kB / 0.9175 GB, free: 7.762 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.6611, allocations: 152.2 kB / 0.9176 GB, free: 7.605 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.6612, allocations: 29.7 kB / 0.9176 GB, free: 7.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.6612, allocations: 112.2 kB / 0.9177 GB, free: 7.457 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.6613, allocations: 23.66 kB / 0.9178 GB, free: 7.434 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.509e-05/0.6613, allocations: 33.69 kB / 0.9178 GB, free: 7.395 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.6614, allocations: 318.8 kB / 0.9181 GB, free: 7.074 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.6617, allocations: 79.86 kB / 0.9182 GB, free: 6.996 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002308/0.6619, allocations: 93.44 kB / 0.9183 GB, free: 6.891 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.6624, allocations: 185.7 kB / 0.9184 GB, free: 6.695 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.6624, allocations: 4 kB / 0.9185 GB, free: 6.691 MB / 0.67 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0009991/0.6634, allocations: 282 kB / 0.9187 GB, free: 6.406 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.6634, allocations: 10.12 kB / 0.9187 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.6634, allocations: 0 / 0.9187 GB, free: 6.398 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005881/0.664, allocations: 84.89 kB / 0.9188 GB, free: 6.312 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.6643, allocations: 35.95 kB / 0.9188 GB, free: 6.277 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002102/0.6664, allocations: 1.656 MB / 0.9205 GB, free: 4.477 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.6666, allocations: 24.02 kB / 0.9205 GB, free: 4.453 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.844e-05/0.6666, allocations: 7.984 kB / 0.9205 GB, free: 4.445 MB / 0.67 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 (10): * Single equations (assignments): 9 * 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 9.906e-05/0.6667, allocations: 126.4 kB / 0.9206 GB, free: 4.312 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.6668, allocations: 11.81 kB / 0.9206 GB, free: 4.301 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/0.6679, allocations: 315.6 kB / 0.9209 GB, free: 3.98 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.6679, allocations: 4 kB / 0.9209 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.6679, allocations: 0 / 0.9209 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.6679, allocations: 0 / 0.9209 GB, free: 3.977 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.6681, allocations: 238.4 kB / 0.9212 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6682, allocations: 0 / 0.9212 GB, free: 3.695 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002076/0.6684, allocations: 43.83 kB / 0.9212 GB, free: 3.652 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004107/0.6688, allocations: 68.78 kB / 0.9213 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.6688, allocations: 11.94 kB / 0.9213 GB, free: 3.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.6706, allocations: 1.676 MB / 0.9229 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.6707, allocations: 0 / 0.9229 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009802/0.6716, allocations: 387.1 kB / 0.9233 GB, free: 1.355 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 8.419e-05/0.6717, allocations: 105 kB / 0.9234 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.962e-05/0.6718, allocations: 12.05 kB / 0.9234 GB, free: 1.223 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.672, allocations: 23.91 kB / 0.9234 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.905e-05/0.6721, allocations: 11.98 kB / 0.9234 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.6721, allocations: 7.984 kB / 0.9234 GB, free: 1.18 MB / 0.67 GB Notification: Performance of sorting global known variables: time 7.16e-05/0.6722, allocations: 112.9 kB / 0.9235 GB, free: 1.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.6722, allocations: 0 / 0.9235 GB, free: 1.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0003266/0.6725, allocations: 47.98 kB / 0.9236 GB, free: 1.023 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 9 * 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.001302/0.6738, allocations: 0.9122 MB / 0.9245 GB, free: 84 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0008406/0.6747, allocations: 314.8 kB / 0.9248 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6747, allocations: 0 / 0.9248 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005045/0.6752, allocations: 230.5 kB / 0.925 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.6755, allocations: 33.27 kB / 0.925 GB, free: 15.49 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.6792, allocations: 2.068 MB / 0.9271 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.6795, allocations: 0.7085 MB / 0.9277 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0001227/0.6796, allocations: 24.81 kB / 0.9278 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.6797, allocations: 35.42 kB / 0.9278 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of SimCode: time 3.01e-07/0.6797, allocations: 0 / 0.9278 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04656/0.7263, allocations: 4.864 MB / 0.9326 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.15, allocations: 4.062 kB / 0.9326 GB, free: 7.879 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)