Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_10_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.001625/0.001625, 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.002038/0.002038, allocations: 195 kB / 16.14 MB, free: 6.711 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.319/1.319, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.483/2.483, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 0.8686 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5052, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002786/0.508, allocations: 1.967 MB / 1.019 GB, free: 0.8164 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.1311/0.6391, allocations: 153.1 MB / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.6393, allocations: 0 / 1.168 GB, free: 7.098 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.6394, allocations: 19.86 kB / 1.168 GB, free: 7.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002109/0.6397, allocations: 63.55 kB / 1.168 GB, free: 7.016 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004996/0.6402, allocations: 232.6 kB / 1.168 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002098/0.6404, allocations: 255.1 kB / 1.169 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.6405, allocations: 70.61 kB / 1.169 GB, free: 6.469 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.6422, allocations: 223.1 kB / 1.169 GB, free: 6.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.6423, allocations: 95.53 kB / 1.169 GB, free: 6.176 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.076e-05/0.6424, allocations: 12 kB / 1.169 GB, free: 6.164 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002851/0.6427, allocations: 179.7 kB / 1.169 GB, free: 5.988 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.332e-05/0.6427, allocations: 39.83 kB / 1.169 GB, free: 5.949 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 8.08e-05/0.6428, allocations: 87.52 kB / 1.169 GB, free: 5.863 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.6431, allocations: 271.2 kB / 1.17 GB, free: 5.598 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.6431, allocations: 8 kB / 1.17 GB, free: 5.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 7.01e-07/0.6431, allocations: 0 / 1.17 GB, free: 5.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.6432, allocations: 4 kB / 1.17 GB, free: 5.586 MB / 0.92 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.0008424/0.644, allocations: 0.5202 MB / 1.17 GB, free: 5.02 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.644, allocations: 12.03 kB / 1.17 GB, free: 5.008 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.067e-05/0.6441, allocations: 50.55 kB / 1.17 GB, free: 4.949 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008454/0.6449, allocations: 79.72 kB / 1.17 GB, free: 4.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.6452, allocations: 241.3 kB / 1.171 GB, free: 4.598 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.498e-05/0.6453, allocations: 42.03 kB / 1.171 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.6453, allocations: 12 kB / 1.171 GB, free: 4.539 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004879/0.6458, allocations: 266.6 kB / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.6458, allocations: 0 / 1.171 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.6458, allocations: 4 kB / 1.171 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6458, allocations: 8 kB / 1.171 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.6463, allocations: 164.3 kB / 1.171 GB, free: 4.078 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001475/0.6478, allocations: 1.188 MB / 1.172 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007232/0.6485, allocations: 210.5 kB / 1.172 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.6487, allocations: 72.81 kB / 1.172 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.357e-05/0.6487, allocations: 4 kB / 1.172 GB, free: 2.52 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.6487, allocations: 34.56 kB / 1.172 GB, free: 2.477 MB / 0.92 GB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.6487, allocations: 0 / 1.172 GB, free: 2.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=12): time 0.002578/0.6513, allocations: 0.6219 MB / 1.173 GB, free: 1.805 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.6513, allocations: 55.39 kB / 1.173 GB, free: 1.738 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.6516, allocations: 222.8 kB / 1.173 GB, free: 1.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.6516, allocations: 33.7 kB / 1.173 GB, free: 1.473 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.6517, allocations: 140 kB / 1.174 GB, free: 1.332 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.6517, allocations: 35.45 kB / 1.174 GB, free: 1.297 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.6518, allocations: 45.69 kB / 1.174 GB, free: 1.246 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.315e-05/0.6519, allocations: 330.8 kB / 1.174 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.6521, allocations: 67.94 kB / 1.174 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002289/0.6524, allocations: 131.7 kB / 1.174 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004014/0.6528, allocations: 205.8 kB / 1.174 GB, free: 480 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6528, allocations: 0 / 1.174 GB, free: 480 kB / 0.92 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001416/0.6542, allocations: 370.7 kB / 1.175 GB, free: 96 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6542, allocations: 4 kB / 1.175 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.6542, allocations: 4.219 kB / 1.175 GB, free: 88 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001052/0.6553, allocations: 161.5 kB / 1.175 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6555, allocations: 39.91 kB / 1.175 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003422/0.659, allocations: 3.037 MB / 1.178 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003467/0.6593, allocations: 35.72 kB / 1.178 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/0.6593, allocations: 8 kB / 1.178 GB, free: 12.52 MB / 0.9356 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.000119/0.6595, allocations: 133.8 kB / 1.178 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.445e-05/0.6595, allocations: 19.75 kB / 1.178 GB, free: 12.36 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.6608, allocations: 374.3 kB / 1.178 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6608, allocations: 7.938 kB / 1.178 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.6608, allocations: 0 / 1.178 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.6608, allocations: 0 / 1.178 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.6611, allocations: 277.4 kB / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6611, allocations: 0 / 1.179 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.6613, allocations: 23.98 kB / 1.179 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009516/0.6622, allocations: 165.5 kB / 1.179 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.6622, allocations: 4 kB / 1.179 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003091/0.6653, allocations: 3.072 MB / 1.182 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.6654, allocations: 0 / 1.182 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6666, allocations: 434.1 kB / 1.182 GB, free: 7.672 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.312e-05/0.6667, allocations: 112.8 kB / 1.182 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.415e-05/0.6667, allocations: 7.906 kB / 1.182 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002883/0.667, allocations: 15.98 kB / 1.182 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.6671, allocations: 19.97 kB / 1.182 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.6671, allocations: 4 kB / 1.182 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001544/0.6673, allocations: 167.1 kB / 1.183 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6673, allocations: 0 / 1.183 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003897/0.6677, allocations: 75.94 kB / 1.183 GB, free: 7.258 MB / 0.9356 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.001463/0.6691, allocations: 0.9812 MB / 1.184 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009078/0.67, allocations: 449.4 kB / 1.184 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6701, allocations: 4 kB / 1.184 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0006054/0.6707, allocations: 345.2 kB / 1.184 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.6711, allocations: 56.34 kB / 1.184 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004478/0.6756, allocations: 2.582 MB / 1.187 GB, free: 2.652 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.6758, allocations: 0.7324 MB / 1.188 GB, free: 1.895 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001901/0.676, allocations: 41.91 kB / 1.188 GB, free: 1.852 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.6761, allocations: 51.41 kB / 1.188 GB, free: 1.801 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.6761, allocations: 4 kB / 1.188 GB, free: 1.797 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.125/1.801, allocations: 6.739 MB / 1.194 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003032/1.801, allocations: 248.3 kB / 1.195 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.866/3.668, allocations: 0 / 1.195 GB, free: 11.01 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_10_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat