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.8458/0.8458, allocations: 141.8 MB / 149.3 MB, free: 9.227 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.001166/0.001166, allocations: 183.8 kB / 182.2 MB, free: 9.453 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.628/1.628, allocations: 221.5 MB / 436.4 MB, free: 13.26 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.001265/0.001265, allocations: 92.05 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001803/0.001803, allocations: 279.9 kB / 0.5889 GB, free: 54.62 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.588e-05/2.592e-05, allocations: 7.984 kB / 0.6766 GB, free: 12.7 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5434/0.5434, allocations: 82.76 MB / 0.7575 GB, free: 31.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.98/5.523, allocations: 1.675 GB / 2.432 GB, free: 76.91 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/5.524, allocations: 86.69 kB / 2.432 GB, free: 76.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1055/5.629, allocations: 55.33 MB / 2.486 GB, free: 26.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/5.629, allocations: 4 kB / 2.486 GB, free: 26.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.292e-05/5.629, allocations: 0 / 2.486 GB, free: 26.68 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.0006963/5.63, allocations: 462.3 kB / 2.487 GB, free: 26.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/5.63, allocations: 12.03 kB / 2.487 GB, free: 26.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005236/5.631, allocations: 55.7 kB / 2.487 GB, free: 26.12 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/5.631, allocations: 198.9 kB / 2.487 GB, free: 25.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/5.631, allocations: 8 kB / 2.487 GB, free: 25.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/5.631, allocations: 4 kB / 2.487 GB, free: 25.87 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001949/5.631, allocations: 75.97 kB / 2.487 GB, free: 25.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/5.631, allocations: 151.8 kB / 2.487 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/5.631, allocations: 0 / 2.487 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/5.631, allocations: 0 / 2.487 GB, free: 25.63 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/5.631, allocations: 4 kB / 2.487 GB, free: 25.62 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009285/5.632, allocations: 0.7868 MB / 2.488 GB, free: 24.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/5.632, allocations: 98.53 kB / 2.488 GB, free: 24.67 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.195e-05/5.632, allocations: 52.84 kB / 2.488 GB, free: 24.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/5.633, allocations: 0 / 2.488 GB, free: 24.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/5.633, allocations: 34.56 kB / 2.488 GB, free: 24.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 8.01e-07/5.633, allocations: 0 / 2.488 GB, free: 24.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0007438/5.633, allocations: 198.2 kB / 2.488 GB, free: 24.37 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/5.633, allocations: 51.41 kB / 2.488 GB, free: 24.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.92e-05/5.633, allocations: 115.4 kB / 2.488 GB, free: 24.18 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/5.633, allocations: 25.7 kB / 2.488 GB, free: 24.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/5.634, allocations: 111.9 kB / 2.488 GB, free: 24.04 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.941e-05/5.634, allocations: 31.55 kB / 2.488 GB, free: 24.01 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.164e-05/5.634, allocations: 0 / 2.488 GB, free: 24.01 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.315e-05/5.634, allocations: 326.8 kB / 2.489 GB, free: 23.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.263e-05/5.634, allocations: 35.94 kB / 2.489 GB, free: 23.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.132e-05/5.634, allocations: 89.92 kB / 2.489 GB, free: 23.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.478e-05/5.634, allocations: 48 kB / 2.489 GB, free: 23.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/5.634, allocations: 0 / 2.489 GB, free: 23.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0006114/5.635, allocations: 214.3 kB / 2.489 GB, free: 23.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/5.635, allocations: 12.12 kB / 2.489 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/5.635, allocations: 0 / 2.489 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005823/5.635, allocations: 92.75 kB / 2.489 GB, free: 23.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/5.635, allocations: 35.95 kB / 2.489 GB, free: 23.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001745/5.637, allocations: 1.469 MB / 2.491 GB, free: 21.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/5.637, allocations: 27.91 kB / 2.491 GB, free: 21.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/5.637, allocations: 4 kB / 2.491 GB, free: 21.5 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 0.0001142/5.638, allocations: 109.7 kB / 2.491 GB, free: 21.38 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006247/5.638, allocations: 198.3 kB / 2.491 GB, free: 21.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.242e-05/5.638, allocations: 7.906 kB / 2.491 GB, free: 21.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007116/5.639, allocations: 260.4 kB / 2.491 GB, free: 20.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/5.639, allocations: 4 kB / 2.491 GB, free: 20.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/5.639, allocations: 0 / 2.491 GB, free: 20.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/5.639, allocations: 7.938 kB / 2.491 GB, free: 20.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/5.639, allocations: 202 kB / 2.492 GB, free: 20.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/5.639, allocations: 0 / 2.492 GB, free: 20.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/5.639, allocations: 31.97 kB / 2.492 GB, free: 20.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004552/5.64, allocations: 96.69 kB / 2.492 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/5.64, allocations: 0 / 2.492 GB, free: 20.54 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001525/5.641, allocations: 1.504 MB / 2.493 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/5.641, allocations: 0 / 2.493 GB, free: 18.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006422/5.642, allocations: 308.3 kB / 2.493 GB, free: 18.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.962e-05/5.642, allocations: 88.97 kB / 2.493 GB, free: 18.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/5.642, allocations: 0 / 2.493 GB, free: 18.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/5.642, allocations: 23.92 kB / 2.494 GB, free: 18.46 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/5.642, allocations: 23.91 kB / 2.494 GB, free: 18.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.398e-05/5.642, allocations: 4 kB / 2.494 GB, free: 18.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.031e-05/5.643, allocations: 96.83 kB / 2.494 GB, free: 18.34 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/5.643, allocations: 0 / 2.494 GB, free: 18.34 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004933/5.643, allocations: 79.83 kB / 2.494 GB, free: 18.27 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.001854/5.645, allocations: 1.435 MB / 2.495 GB, free: 16.81 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005917/5.646, allocations: 237.7 kB / 2.495 GB, free: 16.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/5.646, allocations: 0 / 2.495 GB, free: 16.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003251/5.646, allocations: 197.9 kB / 2.496 GB, free: 16.36 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002912/5.646, allocations: 18.42 kB / 2.496 GB, free: 16.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/5.647, allocations: 250 kB / 2.496 GB, free: 16.07 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/5.647, allocations: 0.7085 MB / 2.496 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001616/5.647, allocations: 24.48 kB / 2.496 GB, free: 15.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.894e-05/5.648, allocations: 39.41 kB / 2.497 GB, free: 15.27 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/5.648, allocations: 0 / 2.497 GB, free: 15.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/5.676, allocations: 8.464 MB / 2.505 GB, free: 6.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/5.677, allocations: 160.2 kB / 2.505 GB, free: 6.629 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/7.845, allocations: 1.125 kB / 2.505 GB, free: 6.629 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)