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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001322/0.001322, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.266/1.266, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.89 kB / 0.812 GB, free: 14.83 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5528/0.5541, allocations: 140.4 MB / 0.949 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002378/0.5566, allocations: 1.968 MB / 0.951 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1428/0.6994, allocations: 153.1 MB / 1.101 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.6996, allocations: 7.938 kB / 1.101 GB, free: 6.438 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001578/0.6998, allocations: 15.86 kB / 1.101 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002586/0.7, allocations: 63.55 kB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.7006, allocations: 231.4 kB / 1.101 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002672/0.7009, allocations: 263 kB / 1.101 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001516/0.701, allocations: 64.67 kB / 1.101 GB, free: 5.812 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.7028, allocations: 220 kB / 1.101 GB, free: 5.617 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.703, allocations: 91.61 kB / 1.101 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.228e-05/0.703, allocations: 8 kB / 1.101 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003279/0.7034, allocations: 179.7 kB / 1.102 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.22e-05/0.7034, allocations: 43.81 kB / 1.102 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.31e-05/0.7035, allocations: 83.59 kB / 1.102 GB, free: 5.219 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.7039, allocations: 279.1 kB / 1.102 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.7039, allocations: 0 / 1.102 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.42e-07/0.7039, allocations: 0 / 1.102 GB, free: 4.945 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.7039, allocations: 0 / 1.102 GB, free: 4.945 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.0008809/0.7048, allocations: 0.5223 MB / 1.103 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.7048, allocations: 15.97 kB / 1.103 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.221e-05/0.7049, allocations: 50.55 kB / 1.103 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008417/0.7057, allocations: 87.62 kB / 1.103 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.706, allocations: 230.5 kB / 1.103 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.114e-05/0.7061, allocations: 42.02 kB / 1.103 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.974e-05/0.7061, allocations: 16 kB / 1.103 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004907/0.7066, allocations: 266.5 kB / 1.103 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.7066, allocations: 4 kB / 1.103 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.7066, allocations: 12 kB / 1.103 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.7067, allocations: 7.938 kB / 1.103 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.7071, allocations: 163.8 kB / 1.103 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.7086, allocations: 1.173 MB / 1.105 GB, free: 2.164 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007206/0.7093, allocations: 206.6 kB / 1.105 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001644/0.7095, allocations: 76.81 kB / 1.105 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.7095, allocations: 0 / 1.105 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/0.7096, allocations: 38.56 kB / 1.105 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.7096, allocations: 3.984 kB / 1.105 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12): time 0.002611/0.7122, allocations: 0.6257 MB / 1.105 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.193e-05/0.7122, allocations: 55.41 kB / 1.105 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.7125, allocations: 218.9 kB / 1.106 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.7125, allocations: 25.7 kB / 1.106 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.478e-05/0.7126, allocations: 144 kB / 1.106 GB, free: 0.6797 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.467e-05/0.7126, allocations: 43.36 kB / 1.106 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.7127, allocations: 45.69 kB / 1.106 GB, free: 0.5859 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.7128, allocations: 330.8 kB / 1.106 GB, free: 260 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.713, allocations: 71.94 kB / 1.106 GB, free: 188 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.7133, allocations: 129.5 kB / 1.106 GB, free: 32 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.7137, allocations: 210.1 kB / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7137, allocations: 0 / 1.107 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001438/0.7151, allocations: 374.8 kB / 1.107 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.7152, allocations: 11.94 kB / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.7152, allocations: 0 / 1.107 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.7162, allocations: 161.6 kB / 1.107 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002066/0.7165, allocations: 43.91 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003582/0.72, allocations: 3.021 MB / 1.11 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.7204, allocations: 31.73 kB / 1.11 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.7204, allocations: 16.05 kB / 1.11 GB, free: 11.86 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 (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.0001162/0.7205, allocations: 133.7 kB / 1.11 GB, free: 11.72 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.7206, allocations: 19.75 kB / 1.11 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.7219, allocations: 368.3 kB / 1.111 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.7219, allocations: 3.938 kB / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.7219, allocations: 0 / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.7219, allocations: 0 / 1.111 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003166/0.7222, allocations: 281.4 kB / 1.111 GB, free: 11 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7222, allocations: 7.938 kB / 1.111 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001291/0.7224, allocations: 19.98 kB / 1.111 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009367/0.7233, allocations: 161.7 kB / 1.111 GB, free: 10.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.7234, allocations: 4 kB / 1.111 GB, free: 10.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.7268, allocations: 3.084 MB / 1.114 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.7268, allocations: 0 / 1.114 GB, free: 7.445 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.7281, allocations: 430.2 kB / 1.115 GB, free: 7.004 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.607e-05/0.7282, allocations: 108.8 kB / 1.115 GB, free: 6.879 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.7282, allocations: 12 kB / 1.115 GB, free: 6.867 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000273/0.7285, allocations: 11.98 kB / 1.115 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.7286, allocations: 19.97 kB / 1.115 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.29e-05/0.7286, allocations: 4 kB / 1.115 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001616/0.7288, allocations: 159.2 kB / 1.115 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7288, allocations: 0 / 1.115 GB, free: 6.676 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004827/0.7293, allocations: 79.84 kB / 1.115 GB, free: 6.598 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 (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.001588/0.7309, allocations: 0.9761 MB / 1.116 GB, free: 5.59 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009452/0.7318, allocations: 443.3 kB / 1.116 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.7319, allocations: 0 / 1.116 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0006902/0.7325, allocations: 365.1 kB / 1.117 GB, free: 4.75 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004789/0.733, allocations: 43.97 kB / 1.117 GB, free: 4.707 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.7383, allocations: 2.588 MB / 1.119 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.7387, allocations: 0.7324 MB / 1.12 GB, free: 1.238 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000222/0.7389, allocations: 37.92 kB / 1.12 GB, free: 1.199 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.739, allocations: 59.34 kB / 1.12 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of SimCode: time 3.9e-07/0.739, allocations: 0 / 1.12 GB, free: 1.141 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.7583, allocations: 6.732 MB / 1.127 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/0.7585, allocations: 241.3 kB / 1.127 GB, free: 10.37 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.862/2.62, allocations: 4 kB / 1.127 GB, free: 10.36 MB / 0.8887 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/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