Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7806/0.7806, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 185.2 kB / 187.3 MB, free: 11.87 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.3 MB / 441.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 95.91 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 272.4 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.104e-05/4.106e-05, allocations: 8 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4577, allocations: 82.75 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.072/4.53, allocations: 1.691 GB / 2.456 GB, free: 87.46 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002864/4.53, allocations: 83.95 kB / 2.456 GB, free: 87.38 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.5669/5.097, allocations: 86.4 MB / 2.54 GB, free: 240.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.853e-06/5.097, allocations: 0.9062 kB / 2.54 GB, free: 240.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.951e-05/5.097, allocations: 4.094 kB / 2.54 GB, free: 240.1 MB / 0.698 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.0008816/5.098, allocations: 0.4903 MB / 2.541 GB, free: 239.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/5.098, allocations: 8.969 kB / 2.541 GB, free: 239.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.312e-05/5.098, allocations: 56.05 kB / 2.541 GB, free: 239.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00081/5.099, allocations: 77.39 kB / 2.541 GB, free: 239.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/5.099, allocations: 224.4 kB / 2.541 GB, free: 239.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/5.099, allocations: 45.14 kB / 2.541 GB, free: 239.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.274e-05/5.099, allocations: 18 kB / 2.541 GB, free: 239.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004679/5.1, allocations: 240.9 kB / 2.541 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/5.1, allocations: 0.6562 kB / 2.541 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.449e-05/5.1, allocations: 6.25 kB / 2.541 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/5.1, allocations: 4.281 kB / 2.541 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002698/5.1, allocations: 130.1 kB / 2.541 GB, free: 239.4 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/5.102, allocations: 1.184 MB / 2.543 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007375/5.103, allocations: 188.9 kB / 2.543 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/5.103, allocations: 67.2 kB / 2.543 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/5.103, allocations: 5.156 kB / 2.543 GB, free: 238.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/5.103, allocations: 36.77 kB / 2.543 GB, free: 238.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 3.056e-06/5.103, allocations: 4.156 kB / 2.543 GB, free: 238.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001309/5.104, allocations: 272.1 kB / 2.543 GB, free: 238.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.037e-05/5.104, allocations: 57.47 kB / 2.543 GB, free: 238.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/5.104, allocations: 174 kB / 2.543 GB, free: 238.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/5.104, allocations: 29.77 kB / 2.543 GB, free: 238.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/5.105, allocations: 134.4 kB / 2.544 GB, free: 238.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.25e-05/5.105, allocations: 50.44 kB / 2.544 GB, free: 238.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/5.105, allocations: 4.625 kB / 2.544 GB, free: 238.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.127e-05/5.105, allocations: 330 kB / 2.544 GB, free: 237.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/5.105, allocations: 55.14 kB / 2.544 GB, free: 237.8 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/5.105, allocations: 123.8 kB / 2.544 GB, free: 237.7 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/5.105, allocations: 65.94 kB / 2.544 GB, free: 237.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/5.105, allocations: 3.688 kB / 2.544 GB, free: 237.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001317/5.106, allocations: 332.1 kB / 2.544 GB, free: 237.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/5.106, allocations: 12.59 kB / 2.544 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/5.106, allocations: 6.234 kB / 2.544 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/5.108, allocations: 165.1 kB / 2.545 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002601/5.108, allocations: 40.36 kB / 2.545 GB, free: 237.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003577/5.112, allocations: 3.024 MB / 2.548 GB, free: 235 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/5.112, allocations: 34.81 kB / 2.548 GB, free: 235 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/5.112, allocations: 13.88 kB / 2.548 GB, free: 235 MB / 0.698 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 () * 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.0001069/5.112, allocations: 114.5 kB / 2.548 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/5.112, allocations: 24.36 kB / 2.548 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/5.114, allocations: 345.5 kB / 2.548 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/5.114, allocations: 2.5 kB / 2.548 GB, free: 234.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/5.114, allocations: 4.609 kB / 2.548 GB, free: 234.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/5.114, allocations: 1.453 kB / 2.548 GB, free: 234.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/5.114, allocations: 272.3 kB / 2.548 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/5.114, allocations: 0.5938 kB / 2.548 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001456/5.114, allocations: 28.86 kB / 2.548 GB, free: 234.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/5.115, allocations: 166.6 kB / 2.549 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/5.115, allocations: 5.078 kB / 2.549 GB, free: 234.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003258/5.118, allocations: 3.072 MB / 2.552 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/5.118, allocations: 0.625 kB / 2.552 GB, free: 232.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/5.12, allocations: 406.4 kB / 2.552 GB, free: 231.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/5.12, allocations: 111.9 kB / 2.552 GB, free: 231.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/5.12, allocations: 4.188 kB / 2.552 GB, free: 231.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002794/5.12, allocations: 19.92 kB / 2.552 GB, free: 231.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.8e-05/5.12, allocations: 21.88 kB / 2.552 GB, free: 231.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/5.12, allocations: 8.484 kB / 2.552 GB, free: 231.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001594/5.12, allocations: 147.8 kB / 2.552 GB, free: 231.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.603e-06/5.12, allocations: 0.7188 kB / 2.552 GB, free: 231.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006882/5.121, allocations: 130.1 kB / 2.552 GB, free: 231.7 MB / 0.698 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 () * 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.002249/5.123, allocations: 1.542 MB / 2.554 GB, free: 231 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008941/5.124, allocations: 416.3 kB / 2.554 GB, free: 230.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/5.124, allocations: 0.9688 kB / 2.554 GB, free: 230.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005567/5.125, allocations: 344.5 kB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/5.125, allocations: 50.58 kB / 2.555 GB, free: 230.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/5.126, allocations: 358 kB / 2.555 GB, free: 230.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001791/5.126, allocations: 0.736 MB / 2.556 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001984/5.127, allocations: 39.27 kB / 2.556 GB, free: 229.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.977e-05/5.127, allocations: 52.12 kB / 2.556 GB, free: 229.7 MB / 0.698 GB Notification: Performance of SimCode: time 4.3e-07/5.127, allocations: 7.156 kB / 2.556 GB, free: 229.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/5.165, allocations: 20.8 MB / 2.576 GB, free: 228.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001575/5.165, allocations: 196 kB / 2.576 GB, free: 228.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/7.631, allocations: 0 / 2.576 GB, free: 228.6 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulPhi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)