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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.001586/0.001587, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.00187/0.00187, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.662/2.662, allocations: 223.2 MB / 239.9 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 5.336/5.336, allocations: 409.2 MB / 0.6838 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007339/0.0007342, allocations: 8 kB / 0.8375 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.625/1.626, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.004465/1.63, allocations: 1.537 MB / 0.9824 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3391/1.969, allocations: 130.9 MB / 1.11 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004156/1.97, allocations: 3.938 kB / 1.11 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003566/1.97, allocations: 19.84 kB / 1.11 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0005176/1.971, allocations: 79.8 kB / 1.11 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/1.972, allocations: 219.4 kB / 1.111 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004279/1.973, allocations: 171.7 kB / 1.111 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/1.973, allocations: 50.25 kB / 1.111 GB, free: 0.9414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006122/1.974, allocations: 163.6 kB / 1.111 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/1.974, allocations: 75.62 kB / 1.111 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.203e-05/1.974, allocations: 4 kB / 1.111 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006917/1.975, allocations: 191.7 kB / 1.111 GB, free: 0.5156 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/1.975, allocations: 23.91 kB / 1.111 GB, free: 0.4922 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/1.975, allocations: 57.58 kB / 1.111 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005528/1.975, allocations: 199.5 kB / 1.111 GB, free: 240 kB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.975, allocations: 0 / 1.111 GB, free: 240 kB / 0.8575 GB Notification: Performance of FrontEnd: time 4.258e-06/1.975, allocations: 0 / 1.111 GB, free: 240 kB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.877e-06/1.975, allocations: 4 kB / 1.111 GB, free: 236 kB / 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.001611/1.977, allocations: 0.4951 MB / 1.112 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.467e-05/1.977, allocations: 8.031 kB / 1.112 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001157/1.977, allocations: 50.55 kB / 1.112 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/1.979, allocations: 87.67 kB / 1.112 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008161/1.979, allocations: 227.5 kB / 1.112 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/1.98, allocations: 34.03 kB / 1.112 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.034e-05/1.98, allocations: 20 kB / 1.112 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001072/1.981, allocations: 262.6 kB / 1.113 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/1.981, allocations: 3.938 kB / 1.113 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.514e-05/1.981, allocations: 8 kB / 1.113 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/1.981, allocations: 4 kB / 1.113 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008833/1.982, allocations: 175.8 kB / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/1.985, allocations: 1.192 MB / 1.114 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.986, allocations: 214.6 kB / 1.114 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 4.225e-05/1.986, allocations: 4 kB / 1.114 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/1.986, allocations: 38.56 kB / 1.114 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=12): time 3.477e-06/1.986, allocations: 4 kB / 1.114 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of matching and sorting (n=12): time 0.003966/1.99, allocations: 0.6416 MB / 1.115 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.28e-05/1.99, allocations: 59.34 kB / 1.115 GB, free: 12.44 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/1.991, allocations: 207.2 kB / 1.115 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.255e-05/1.991, allocations: 25.7 kB / 1.115 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/1.991, allocations: 144 kB / 1.115 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/1.991, allocations: 39.45 kB / 1.115 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.044e-05/1.991, allocations: 4 kB / 1.115 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.991, allocations: 322.8 kB / 1.116 GB, free: 11.68 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/1.992, allocations: 79.94 kB / 1.116 GB, free: 11.61 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003987/1.992, allocations: 142.4 kB / 1.116 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003606/1.992, allocations: 87.98 kB / 1.116 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.116e-05/1.992, allocations: 4 kB / 1.116 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.002041/1.994, allocations: 378.7 kB / 1.116 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/1.994, allocations: 9.875 kB / 1.116 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.994, allocations: 0 / 1.116 GB, free: 10.96 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0015/1.996, allocations: 173.7 kB / 1.116 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003267/1.996, allocations: 43.95 kB / 1.116 GB, free: 10.74 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006549/2.003, allocations: 3.061 MB / 1.119 GB, free: 7.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/2.004, allocations: 31.73 kB / 1.119 GB, free: 7.371 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.833e-05/2.004, allocations: 15.98 kB / 1.119 GB, free: 7.355 MB / 0.8731 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.000307/2.004, allocations: 139.1 kB / 1.12 GB, free: 7.211 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.123e-05/2.004, allocations: 15.81 kB / 1.12 GB, free: 7.195 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/2.006, allocations: 380.3 kB / 1.12 GB, free: 6.809 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/2.006, allocations: 4 kB / 1.12 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/2.006, allocations: 0 / 1.12 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/2.006, allocations: 0 / 1.12 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/2.007, allocations: 277.3 kB / 1.12 GB, free: 6.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/2.007, allocations: 15.98 kB / 1.12 GB, free: 6.469 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/2.007, allocations: 23.92 kB / 1.12 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001295/2.008, allocations: 169.5 kB / 1.12 GB, free: 6.273 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/2.008, allocations: 4 kB / 1.12 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0061/2.014, allocations: 3.096 MB / 1.123 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/2.014, allocations: 0 / 1.123 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002041/2.016, allocations: 442 kB / 1.124 GB, free: 2.445 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002672/2.017, allocations: 112.9 kB / 1.124 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.461e-05/2.017, allocations: 8.078 kB / 1.124 GB, free: 2.309 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/2.017, allocations: 23.89 kB / 1.124 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/2.017, allocations: 19.97 kB / 1.124 GB, free: 2.266 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.859e-05/2.017, allocations: 8 kB / 1.124 GB, free: 2.258 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003201/2.018, allocations: 159.2 kB / 1.124 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.21e-07/2.018, allocations: 3.938 kB / 1.124 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007617/2.018, allocations: 71.94 kB / 1.124 GB, free: 2.027 MB / 0.8731 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.003139/2.022, allocations: 0.9921 MB / 1.125 GB, free: 1.004 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001648/2.023, allocations: 445.5 kB / 1.126 GB, free: 0.543 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/2.023, allocations: 3.938 kB / 1.126 GB, free: 0.5391 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001147/2.025, allocations: 363.3 kB / 1.126 GB, free: 164 kB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006586/2.025, allocations: 52.23 kB / 1.126 GB, free: 112 kB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00602/2.031, allocations: 2.418 MB / 1.128 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007133/2.032, allocations: 0.7401 MB / 1.129 GB, free: 12.85 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004067/2.032, allocations: 33.89 kB / 1.129 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002218/2.033, allocations: 55.41 kB / 1.129 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of SimCode: time 6.332e-06/2.033, allocations: 0 / 1.129 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04331/2.076, allocations: 6.648 MB / 1.136 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/2.076, allocations: 225.8 kB / 1.136 GB, free: 6.145 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.594/5.671, allocations: 0 / 1.136 GB, free: 6.145 MB / 0.8887 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/linux/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) Environment - environmentSimulation: 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