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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.001719/0.001719, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001887/0.001887, allocations: 197.2 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.248/2.248, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.838/3.838, allocations: 461.9 MB / 0.7344 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 65.47 kB / 0.8987 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3698, allocations: 157.4 MB / 1.052 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003342/0.3732, allocations: 1.975 MB / 1.054 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1642/0.5374, allocations: 153.2 MB / 1.204 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002044/0.5376, allocations: 7.938 kB / 1.204 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002113/0.5379, allocations: 19.8 kB / 1.204 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0003754/0.5383, allocations: 63.53 kB / 1.204 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007753/0.5391, allocations: 235.3 kB / 1.204 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004738/0.5396, allocations: 263.2 kB / 1.205 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.5398, allocations: 78.59 kB / 1.205 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002231/0.542, allocations: 246.4 kB / 1.205 GB, free: 12 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001876/0.5422, allocations: 95.59 kB / 1.205 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/0.5423, allocations: 20 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003949/0.5427, allocations: 183.7 kB / 1.205 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.102e-05/0.5427, allocations: 47.78 kB / 1.205 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.5429, allocations: 95.52 kB / 1.205 GB, free: 11.57 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004805/0.5434, allocations: 279.2 kB / 1.206 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.5434, allocations: 0 / 1.206 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.392e-06/0.5434, allocations: 4 kB / 1.206 GB, free: 11.29 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.5434, allocations: 0 / 1.206 GB, free: 11.29 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.001046/0.5444, allocations: 0.5261 MB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.5445, allocations: 8.625 kB / 1.206 GB, free: 10.71 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.963e-05/0.5446, allocations: 50.55 kB / 1.206 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009524/0.5455, allocations: 83.73 kB / 1.206 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.5458, allocations: 234.5 kB / 1.206 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.179e-05/0.5459, allocations: 38.03 kB / 1.206 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.778e-05/0.5459, allocations: 16 kB / 1.206 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005518/0.5465, allocations: 266.5 kB / 1.207 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.5465, allocations: 0 / 1.207 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.5466, allocations: 4 kB / 1.207 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.5466, allocations: 12 kB / 1.207 GB, free: 9.934 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004663/0.547, allocations: 163.8 kB / 1.207 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001779/0.5488, allocations: 1.177 MB / 1.208 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.5499, allocations: 210.6 kB / 1.208 GB, free: 8.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000274/0.5502, allocations: 68.83 kB / 1.208 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.5502, allocations: 7.969 kB / 1.208 GB, free: 8.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5503, allocations: 34.5 kB / 1.208 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=12): time 2.534e-06/0.5503, allocations: 0 / 1.208 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12): time 0.004213/0.5545, allocations: 0.6259 MB / 1.209 GB, free: 7.508 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.5546, allocations: 51.41 kB / 1.209 GB, free: 7.445 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004701/0.5551, allocations: 218.9 kB / 1.209 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.5552, allocations: 33.64 kB / 1.209 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.5553, allocations: 132 kB / 1.209 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 6.944e-05/0.5554, allocations: 39.39 kB / 1.209 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/0.5556, allocations: 57.58 kB / 1.209 GB, free: 6.949 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.5558, allocations: 330.8 kB / 1.21 GB, free: 6.617 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.5562, allocations: 67.95 kB / 1.21 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000452/0.5567, allocations: 133.3 kB / 1.21 GB, free: 6.395 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000721/0.5574, allocations: 206.7 kB / 1.21 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.5574, allocations: 0 / 1.21 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002173/0.5596, allocations: 366.8 kB / 1.21 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.5597, allocations: 7.938 kB / 1.211 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.5597, allocations: 4 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001563/0.5613, allocations: 165.7 kB / 1.211 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003291/0.5616, allocations: 39.95 kB / 1.211 GB, free: 5.578 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.5675, allocations: 3.257 MB / 1.214 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005793/0.5681, allocations: 31.8 kB / 1.214 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.5681, allocations: 15.98 kB / 1.214 GB, free: 1.992 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.0002163/0.5684, allocations: 131.2 kB / 1.214 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.5685, allocations: 15.81 kB / 1.214 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.5706, allocations: 376.3 kB / 1.214 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.5706, allocations: 0 / 1.214 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.5706, allocations: 4 kB / 1.214 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5706, allocations: 0 / 1.214 GB, free: 1.453 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005185/0.5712, allocations: 281.3 kB / 1.215 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.5712, allocations: 0 / 1.215 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.5714, allocations: 23.92 kB / 1.215 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5727, allocations: 141.6 kB / 1.215 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/0.5728, allocations: 7.938 kB / 1.215 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.5771, allocations: 3.3 MB / 1.218 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.5771, allocations: 0 / 1.218 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.5785, allocations: 438.8 kB / 1.219 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.5787, allocations: 112.8 kB / 1.219 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.5787, allocations: 8 kB / 1.219 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003254/0.579, allocations: 11.98 kB / 1.219 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.5792, allocations: 19.97 kB / 1.219 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.5792, allocations: 8 kB / 1.219 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002118/0.5794, allocations: 155.2 kB / 1.219 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5794, allocations: 7.938 kB / 1.219 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005276/0.58, allocations: 68 kB / 1.219 GB, free: 12.51 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.001852/0.5818, allocations: 0.9806 MB / 1.22 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001247/0.5831, allocations: 441.5 kB / 1.22 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5831, allocations: 4 kB / 1.22 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007551/0.5839, allocations: 361.2 kB / 1.221 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.5844, allocations: 56.09 kB / 1.221 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005834/0.5902, allocations: 2.596 MB / 1.223 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.5908, allocations: 0.7362 MB / 1.224 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0002707/0.5911, allocations: 33.94 kB / 1.224 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001317/0.5912, allocations: 51.41 kB / 1.224 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of SimCode: time 1.833e-06/0.5912, allocations: 4 kB / 1.224 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.865/4.456, allocations: 7.039 MB / 1.231 GB, free: 252 kB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003909/4.457, allocations: 253.4 kB / 1.231 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.736/8.192, allocations: 4 kB / 1.231 GB, free: 15.99 MB / 0.9981 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