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.89/0.89, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 180.8 kB / 182.2 MB, free: 9.43 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.668/1.668, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009523/0.0009519, allocations: 91.86 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001817/0.001818, allocations: 271.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.664e-05/2.666e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4612, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.735/5.196, allocations: 1.691 GB / 2.448 GB, free: 60.73 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/5.197, allocations: 82.45 kB / 2.448 GB, free: 60.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.7156/5.912, allocations: 85.18 MB / 2.531 GB, free: 248.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/5.912, allocations: 0 / 2.531 GB, free: 248.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.436e-05/5.912, allocations: 9.25 kB / 2.531 GB, free: 248.3 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.0008061/5.913, allocations: 0.4916 MB / 2.532 GB, free: 247.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/5.913, allocations: 6.75 kB / 2.532 GB, free: 247.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007315/5.914, allocations: 85.28 kB / 2.532 GB, free: 247.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/5.914, allocations: 228.4 kB / 2.532 GB, free: 247.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/5.914, allocations: 36.59 kB / 2.532 GB, free: 247.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/5.914, allocations: 8.781 kB / 2.532 GB, free: 247.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002344/5.915, allocations: 113.3 kB / 2.532 GB, free: 247.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003192/5.915, allocations: 218.8 kB / 2.533 GB, free: 247.6 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/5.915, allocations: 3 kB / 2.533 GB, free: 247.6 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/5.915, allocations: 0 / 2.533 GB, free: 247.6 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/5.915, allocations: 3.031 kB / 2.533 GB, free: 247.6 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001376/5.916, allocations: 1.143 MB / 2.534 GB, free: 246.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006259/5.917, allocations: 183 kB / 2.534 GB, free: 246.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.132e-05/5.917, allocations: 55.2 kB / 2.534 GB, free: 246.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/5.917, allocations: 3.844 kB / 2.534 GB, free: 246.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/5.917, allocations: 32.62 kB / 2.534 GB, free: 246.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/5.917, allocations: 0 / 2.534 GB, free: 246.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=12): time 0.001134/5.918, allocations: 268.1 kB / 2.534 GB, free: 246.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.353e-05/5.918, allocations: 54.03 kB / 2.534 GB, free: 246.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/5.919, allocations: 146.8 kB / 2.534 GB, free: 246.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/5.919, allocations: 25.7 kB / 2.534 GB, free: 246.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.074e-05/5.919, allocations: 147.2 kB / 2.535 GB, free: 246.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/5.919, allocations: 43.19 kB / 2.535 GB, free: 246.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/5.919, allocations: 3.625 kB / 2.535 GB, free: 246.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/5.919, allocations: 321 kB / 2.535 GB, free: 246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.487e-05/5.919, allocations: 51.88 kB / 2.535 GB, free: 246 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/5.919, allocations: 111.1 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/5.919, allocations: 69.11 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/5.919, allocations: 3.344 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001087/5.92, allocations: 313.7 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/5.92, allocations: 6.625 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/5.92, allocations: 3.344 kB / 2.535 GB, free: 245.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/5.921, allocations: 166.2 kB / 2.536 GB, free: 245.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/5.922, allocations: 40.83 kB / 2.536 GB, free: 245.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002843/5.924, allocations: 2.888 MB / 2.539 GB, free: 243.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002989/5.925, allocations: 35.25 kB / 2.539 GB, free: 243.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/5.925, allocations: 12.11 kB / 2.539 GB, free: 243.4 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 8.794e-05/5.925, allocations: 107.4 kB / 2.539 GB, free: 243.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001004/5.926, allocations: 273.6 kB / 2.539 GB, free: 243.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/5.926, allocations: 10.03 kB / 2.539 GB, free: 243.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/5.927, allocations: 329 kB / 2.539 GB, free: 243.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/5.927, allocations: 6.234 kB / 2.539 GB, free: 243.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-06/5.927, allocations: 0 / 2.539 GB, free: 243.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/5.927, allocations: 0 / 2.539 GB, free: 243.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/5.927, allocations: 233.2 kB / 2.539 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/5.927, allocations: 0 / 2.539 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/5.927, allocations: 32.92 kB / 2.539 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000838/5.928, allocations: 169.2 kB / 2.54 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/5.928, allocations: 3.5 kB / 2.54 GB, free: 243 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/5.931, allocations: 2.924 MB / 2.543 GB, free: 240.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/5.931, allocations: 3.938 kB / 2.543 GB, free: 240.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/5.932, allocations: 393.9 kB / 2.543 GB, free: 240.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/5.932, allocations: 109.9 kB / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/5.932, allocations: 0 / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002514/5.932, allocations: 19.16 kB / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.327e-05/5.932, allocations: 25.95 kB / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.6e-05/5.932, allocations: 6.938 kB / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.178e-05/5.932, allocations: 109.1 kB / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.932, allocations: 0 / 2.543 GB, free: 240.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005061/5.933, allocations: 118.1 kB / 2.543 GB, free: 240.2 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.002044/5.935, allocations: 1.643 MB / 2.545 GB, free: 239.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007642/5.936, allocations: 387.4 kB / 2.545 GB, free: 239.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/5.936, allocations: 0 / 2.545 GB, free: 239.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0005261/5.936, allocations: 327.3 kB / 2.546 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/5.937, allocations: 35.77 kB / 2.546 GB, free: 238.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008698/5.937, allocations: 338.5 kB / 2.546 GB, free: 238.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/5.938, allocations: 0.7373 MB / 2.547 GB, free: 238.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001787/5.938, allocations: 32.58 kB / 2.547 GB, free: 238.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.999e-05/5.938, allocations: 50.36 kB / 2.547 GB, free: 238.1 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/5.938, allocations: 0 / 2.547 GB, free: 238.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03719/5.975, allocations: 11.48 MB / 2.558 GB, free: 236.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/5.976, allocations: 161.2 kB / 2.558 GB, free: 236 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.464/8.44, allocations: 1.406 kB / 2.558 GB, free: 236 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)