Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",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.001361/0.001362, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00143/0.00143, allocations: 197.9 kB / 16.14 MB, free: 6.719 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.66/2.66, allocations: 461.9 MB / 0.7342 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001436, allocations: 65.64 kB / 0.8985 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2889, allocations: 157.4 MB / 1.052 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003303/0.2922, allocations: 1.983 MB / 1.054 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1481/0.4404, allocations: 153.1 MB / 1.204 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001849/0.4406, allocations: 0 / 1.204 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.4408, allocations: 23.78 kB / 1.204 GB, free: 12.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002816/0.4411, allocations: 67.61 kB / 1.204 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006547/0.4418, allocations: 234.3 kB / 1.204 GB, free: 12.25 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.4421, allocations: 255.1 kB / 1.204 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.4423, allocations: 66.62 kB / 1.204 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001926/0.4442, allocations: 236.5 kB / 1.205 GB, free: 11.72 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4443, allocations: 87.61 kB / 1.205 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.4444, allocations: 8 kB / 1.205 GB, free: 11.62 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003445/0.4447, allocations: 175.7 kB / 1.205 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.634e-05/0.4448, allocations: 43.83 kB / 1.205 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.4449, allocations: 91.52 kB / 1.205 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003719/0.4453, allocations: 271.2 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4453, allocations: 0 / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.396e-06/0.4453, allocations: 0 / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4453, allocations: 3.938 kB / 1.205 GB, free: 11.05 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001125/0.4465, allocations: 0.534 MB / 1.206 GB, free: 10.47 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/0.4465, allocations: 11.97 kB / 1.206 GB, free: 10.46 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.704e-05/0.4466, allocations: 50.55 kB / 1.206 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000944/0.4476, allocations: 83.73 kB / 1.206 GB, free: 10.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002778/0.4478, allocations: 223.5 kB / 1.206 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.67e-05/0.4479, allocations: 42.03 kB / 1.206 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.448, allocations: 16 kB / 1.206 GB, free: 9.996 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.4485, allocations: 262.5 kB / 1.206 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.4485, allocations: 4 kB / 1.206 GB, free: 9.707 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.605e-05/0.4486, allocations: 4 kB / 1.206 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4486, allocations: 4 kB / 1.206 GB, free: 9.699 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.449, allocations: 175.8 kB / 1.207 GB, free: 9.527 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.4506, allocations: 1.18 MB / 1.208 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007418/0.4514, allocations: 202.7 kB / 1.208 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.4516, allocations: 68.83 kB / 1.208 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4516, allocations: 4 kB / 1.208 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.4516, allocations: 38.48 kB / 1.208 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 1.302e-06/0.4516, allocations: 0 / 1.208 GB, free: 7.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.002775/0.4544, allocations: 0.6258 MB / 1.209 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4545, allocations: 55.41 kB / 1.209 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.4547, allocations: 214.9 kB / 1.209 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.4547, allocations: 37.64 kB / 1.209 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.581e-05/0.4548, allocations: 136 kB / 1.209 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.862e-05/0.4549, allocations: 43.39 kB / 1.209 GB, free: 6.754 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.082e-05/0.455, allocations: 53.58 kB / 1.209 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.4551, allocations: 326.8 kB / 1.209 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.4553, allocations: 71.95 kB / 1.209 GB, free: 6.297 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.4556, allocations: 129.5 kB / 1.21 GB, free: 6.145 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004037/0.456, allocations: 202.7 kB / 1.21 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.456, allocations: 4 kB / 1.21 GB, free: 5.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001424/0.4574, allocations: 369.5 kB / 1.21 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.4574, allocations: 4 kB / 1.21 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.4574, allocations: 4 kB / 1.21 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4586, allocations: 169.7 kB / 1.21 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.4588, allocations: 35.95 kB / 1.21 GB, free: 5.332 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.4625, allocations: 3.028 MB / 1.213 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003525/0.4628, allocations: 39.73 kB / 1.213 GB, free: 1.992 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.303e-05/0.4629, allocations: 11.98 kB / 1.213 GB, free: 1.98 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (17): * 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: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001232/0.463, allocations: 129.8 kB / 1.213 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.581e-05/0.4631, allocations: 19.75 kB / 1.214 GB, free: 1.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.4644, allocations: 368.3 kB / 1.214 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.4644, allocations: 7.938 kB / 1.214 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.4644, allocations: 0 / 1.214 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4644, allocations: 0 / 1.214 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003041/0.4647, allocations: 281.3 kB / 1.214 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.4647, allocations: 3.938 kB / 1.214 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.4649, allocations: 19.98 kB / 1.214 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000985/0.4659, allocations: 169.5 kB / 1.214 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.4659, allocations: 0 / 1.214 GB, free: 0.9258 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003311/0.4692, allocations: 3.08 MB / 1.217 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.4692, allocations: 0 / 1.217 GB, free: 13.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00125/0.4705, allocations: 426.8 kB / 1.218 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.4706, allocations: 128.7 kB / 1.218 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.4706, allocations: 3.984 kB / 1.218 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002938/0.4709, allocations: 23.91 kB / 1.218 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.355e-05/0.471, allocations: 11.98 kB / 1.218 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.471, allocations: 11.98 kB / 1.218 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001643/0.4712, allocations: 159.2 kB / 1.218 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.4712, allocations: 4 kB / 1.218 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000396/0.4716, allocations: 64 kB / 1.218 GB, free: 12.71 MB / 0.9825 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001551/0.4732, allocations: 0.9714 MB / 1.219 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0009579/0.4741, allocations: 447.6 kB / 1.219 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4742, allocations: 0 / 1.219 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006467/0.4748, allocations: 357.2 kB / 1.22 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004345/0.4753, allocations: 47.95 kB / 1.22 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004753/0.48, allocations: 2.588 MB / 1.222 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.4803, allocations: 0.7438 MB / 1.223 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002126/0.4805, allocations: 37.92 kB / 1.223 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.56e-05/0.4806, allocations: 55.42 kB / 1.223 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of SimCode: time 2.51e-07/0.4806, allocations: 0 / 1.223 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.4993, allocations: 6.738 MB / 1.23 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001836/0.4995, allocations: 262.8 kB / 1.23 GB, free: 492 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.933/2.432, allocations: 0 / 1.23 GB, free: 492 kB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat