Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="Buildings_9_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.0008446/0.0008486, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0008739/0.0008741, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 240 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.4 MB / 0.6655 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 8 kB / 0.8149 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9647/0.9652, allocations: 142.3 MB / 0.9538 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.001766/0.967, allocations: 1.575 MB / 0.9554 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1668/1.134, allocations: 141.3 MB / 1.093 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/1.134, allocations: 3.938 kB / 1.093 GB, free: 0.9492 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.000163/1.134, allocations: 15.86 kB / 1.093 GB, free: 0.9336 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/1.134, allocations: 63.53 kB / 1.093 GB, free: 0.8711 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005847/1.135, allocations: 223 kB / 1.094 GB, free: 0.6562 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000236/1.135, allocations: 243.1 kB / 1.094 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001499/1.135, allocations: 48.66 kB / 1.094 GB, free: 376 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004143/1.136, allocations: 191.5 kB / 1.094 GB, free: 184 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/1.136, allocations: 75.61 kB / 1.094 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/1.136, allocations: 4 kB / 1.094 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003134/1.136, allocations: 175.6 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.891e-05/1.136, allocations: 31.91 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.57e-05/1.136, allocations: 57.58 kB / 1.094 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002416/1.137, allocations: 195.6 kB / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.137, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/1.137, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.809e-06/1.137, allocations: 0 / 1.095 GB, free: 15.64 MB / 0.8575 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.0007997/1.138, allocations: 0.5066 MB / 1.095 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/1.138, allocations: 8.031 kB / 1.095 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.359e-05/1.138, allocations: 50.55 kB / 1.095 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007882/1.138, allocations: 87.72 kB / 1.095 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002566/1.139, allocations: 223.8 kB / 1.095 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.029e-05/1.139, allocations: 42.02 kB / 1.095 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/1.139, allocations: 16 kB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005075/1.139, allocations: 270.5 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.139, allocations: 3.938 kB / 1.096 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/1.139, allocations: 8 kB / 1.096 GB, free: 14.31 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/1.139, allocations: 8 kB / 1.096 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/1.14, allocations: 171.8 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001586/1.142, allocations: 1.192 MB / 1.097 GB, free: 12.87 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007035/1.142, allocations: 210.6 kB / 1.097 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001847/1.142, allocations: 80.75 kB / 1.097 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/1.142, allocations: 8 kB / 1.097 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.142, allocations: 34.52 kB / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 1.403e-06/1.143, allocations: 0 / 1.097 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002348/1.145, allocations: 0.6376 MB / 1.098 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/1.145, allocations: 55.41 kB / 1.098 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/1.145, allocations: 218.9 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.852e-05/1.145, allocations: 29.7 kB / 1.098 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.604e-05/1.145, allocations: 143.9 kB / 1.098 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.901e-05/1.145, allocations: 39.45 kB / 1.098 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/1.145, allocations: 4 kB / 1.099 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001309/1.145, allocations: 326.8 kB / 1.099 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/1.146, allocations: 79.94 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/1.146, allocations: 136.5 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/1.146, allocations: 80 kB / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.146, allocations: 0 / 1.099 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001306/1.148, allocations: 394.7 kB / 1.099 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/1.148, allocations: 13.05 kB / 1.099 GB, free: 10.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/1.148, allocations: 3.938 kB / 1.099 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009415/1.148, allocations: 165.8 kB / 1.1 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/1.149, allocations: 43.91 kB / 1.1 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004024/1.153, allocations: 3.023 MB / 1.103 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003801/1.153, allocations: 31.83 kB / 1.103 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.778e-05/1.153, allocations: 15.98 kB / 1.103 GB, free: 6.707 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001677/1.153, allocations: 133 kB / 1.103 GB, free: 6.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/1.153, allocations: 23.67 kB / 1.103 GB, free: 6.547 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/1.155, allocations: 381.8 kB / 1.103 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/1.155, allocations: 11.94 kB / 1.103 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/1.155, allocations: 0 / 1.103 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/1.155, allocations: 0 / 1.103 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/1.155, allocations: 273.4 kB / 1.103 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.155, allocations: 0 / 1.103 GB, free: 5.832 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/1.155, allocations: 35.91 kB / 1.104 GB, free: 5.797 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008449/1.156, allocations: 153.5 kB / 1.104 GB, free: 5.641 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/1.156, allocations: 11.98 kB / 1.104 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/1.16, allocations: 3.076 MB / 1.107 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.16, allocations: 0 / 1.107 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/1.161, allocations: 442.2 kB / 1.107 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/1.161, allocations: 116.9 kB / 1.107 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.201e-05/1.161, allocations: 7.938 kB / 1.107 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/1.161, allocations: 15.98 kB / 1.107 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/1.161, allocations: 23.92 kB / 1.107 GB, free: 1.645 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/1.162, allocations: 8 kB / 1.107 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001752/1.162, allocations: 163.1 kB / 1.107 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.8e-07/1.162, allocations: 0 / 1.107 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004581/1.162, allocations: 75.84 kB / 1.107 GB, free: 1.402 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00155/1.164, allocations: 0.9889 MB / 1.108 GB, free: 392 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001026/1.165, allocations: 449.5 kB / 1.109 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/1.165, allocations: 0 / 1.109 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005975/1.165, allocations: 361.2 kB / 1.109 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004442/1.166, allocations: 55.95 kB / 1.109 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/1.169, allocations: 1.351 MB / 1.111 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/1.169, allocations: 0.7363 MB / 1.111 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002207/1.17, allocations: 37.92 kB / 1.111 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/1.17, allocations: 55.41 kB / 1.111 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of SimCode: time 5.61e-07/1.17, allocations: 0 / 1.111 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01811/1.188, allocations: 6.66 MB / 1.118 GB, free: 6.789 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001574/1.188, allocations: 227.1 kB / 1.118 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/3.07, allocations: 1.875 kB / 1.118 GB, free: 6.551 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi_res.mat does not exist to compare? outputFormat=mat