Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.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_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi",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.762/0.762, allocations: 141.7 MB / 154.3 MB, free: 15.49 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.001113/0.001113, allocations: 183.6 kB / 187.3 MB, free: 11.9 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.495/1.495, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009898/0.00099, allocations: 97.16 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001848/0.001849, allocations: 276.5 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.903e-05/4.957e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5013/0.5014, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.121/4.622, allocations: 1.675 GB / 2.44 GB, free: 68.26 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002957/4.622, allocations: 83.83 kB / 2.44 GB, free: 68.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09909/4.722, allocations: 56.17 MB / 2.494 GB, free: 17.04 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.024e-06/4.722, allocations: 3.938 kB / 2.494 GB, free: 17.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.059e-05/4.722, allocations: 4 kB / 2.494 GB, free: 17.04 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000626/4.722, allocations: 462.3 kB / 2.495 GB, free: 16.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/4.722, allocations: 12.03 kB / 2.495 GB, free: 16.53 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.372e-05/4.722, allocations: 38.56 kB / 2.495 GB, free: 16.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005139/4.723, allocations: 59.8 kB / 2.495 GB, free: 16.42 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001902/4.723, allocations: 194.8 kB / 2.495 GB, free: 16.19 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/4.723, allocations: 8 kB / 2.495 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/4.723, allocations: 8 kB / 2.495 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/4.723, allocations: 159.6 kB / 2.495 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/4.723, allocations: 0 / 2.495 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/4.723, allocations: 7.938 kB / 2.495 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/4.723, allocations: 4 kB / 2.495 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/4.724, allocations: 87.91 kB / 2.495 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009115/4.725, allocations: 0.8213 MB / 2.496 GB, free: 15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001838/4.725, allocations: 94.55 kB / 2.496 GB, free: 14.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/4.725, allocations: 56.84 kB / 2.496 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/4.725, allocations: 3.984 kB / 2.496 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/4.725, allocations: 30.56 kB / 2.496 GB, free: 14.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/4.725, allocations: 0 / 2.496 GB, free: 14.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007445/4.726, allocations: 206.4 kB / 2.497 GB, free: 14.59 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/4.726, allocations: 55.41 kB / 2.497 GB, free: 14.52 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.69e-05/4.726, allocations: 133.8 kB / 2.497 GB, free: 14.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/4.726, allocations: 33.7 kB / 2.497 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.571e-05/4.726, allocations: 103.9 kB / 2.497 GB, free: 14.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.08e-05/4.726, allocations: 23.66 kB / 2.497 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.938e-06/4.726, allocations: 0 / 2.497 GB, free: 14.22 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.572e-05/4.726, allocations: 322.8 kB / 2.497 GB, free: 13.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/4.726, allocations: 43.92 kB / 2.497 GB, free: 13.85 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.671e-05/4.726, allocations: 89.94 kB / 2.497 GB, free: 13.74 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.135e-05/4.726, allocations: 47.97 kB / 2.497 GB, free: 13.7 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/4.726, allocations: 3.953 kB / 2.497 GB, free: 13.69 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006408/4.727, allocations: 226.2 kB / 2.498 GB, free: 13.46 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/4.727, allocations: 4 kB / 2.498 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/4.727, allocations: 4 kB / 2.498 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/4.727, allocations: 84.89 kB / 2.498 GB, free: 13.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/4.728, allocations: 43.95 kB / 2.498 GB, free: 13.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/4.729, allocations: 1.564 MB / 2.499 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002011/4.729, allocations: 27.88 kB / 2.499 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/4.73, allocations: 7.953 kB / 2.499 GB, free: 11.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 6.679e-05/4.73, allocations: 112.9 kB / 2.499 GB, free: 11.47 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/4.73, allocations: 8.094 kB / 2.499 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/4.73, allocations: 266.8 kB / 2.5 GB, free: 11.19 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/4.73, allocations: 7.953 kB / 2.5 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.51e-07/4.73, allocations: 0 / 2.5 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/4.73, allocations: 0 / 2.5 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001908/4.731, allocations: 233.6 kB / 2.5 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/4.731, allocations: 0 / 2.5 GB, free: 10.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/4.731, allocations: 39.91 kB / 2.5 GB, free: 10.87 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004256/4.731, allocations: 84.77 kB / 2.5 GB, free: 10.78 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/4.731, allocations: 7.984 kB / 2.5 GB, free: 10.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/4.733, allocations: 1.567 MB / 2.502 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/4.733, allocations: 0 / 2.502 GB, free: 9.066 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/4.733, allocations: 328.2 kB / 2.502 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/4.733, allocations: 88.94 kB / 2.502 GB, free: 8.621 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/4.733, allocations: 4 kB / 2.502 GB, free: 8.617 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001987/4.733, allocations: 23.98 kB / 2.502 GB, free: 8.594 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.437e-05/4.733, allocations: 15.97 kB / 2.502 GB, free: 8.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/4.734, allocations: 0 / 2.502 GB, free: 8.578 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.795e-05/4.734, allocations: 108.8 kB / 2.502 GB, free: 8.473 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/4.734, allocations: 0 / 2.502 GB, free: 8.473 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004346/4.734, allocations: 91.92 kB / 2.502 GB, free: 8.383 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 (10): * Single equations (assignments): 9 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001371/4.735, allocations: 1.355 MB / 2.504 GB, free: 7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005033/4.736, allocations: 246.8 kB / 2.504 GB, free: 6.746 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/4.736, allocations: 4 kB / 2.504 GB, free: 6.742 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003052/4.736, allocations: 202.5 kB / 2.504 GB, free: 6.531 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/4.736, allocations: 28.62 kB / 2.504 GB, free: 6.504 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007565/4.737, allocations: 272 kB / 2.504 GB, free: 6.203 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/4.737, allocations: 0.7165 MB / 2.505 GB, free: 5.461 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001538/4.738, allocations: 20.89 kB / 2.505 GB, free: 5.438 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.728e-05/4.738, allocations: 35.41 kB / 2.505 GB, free: 5.402 MB / 0.698 GB Notification: Performance of SimCode: time 8.42e-07/4.738, allocations: 0 / 2.505 GB, free: 5.402 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4526/5.19, allocations: 15.89 MB / 2.521 GB, free: 244.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/5.191, allocations: 195.7 kB / 2.521 GB, free: 244.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.206/7.397, allocations: 0 / 2.521 GB, free: 244.2 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TWetBul_TDryBulXi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TWetBul_TDryBulXi.pipe 2>&1)