Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.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.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir",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.8417/0.8417, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001313/0.001313, allocations: 177 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.586/1.586, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001108/0.001108, allocations: 88.03 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001893/0.001893, allocations: 271.5 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.407e-05/2.402e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5611/0.5612, allocations: 82.77 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.7296, allocations: 108.7 MB / 0.8636 GB, free: 3.188 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000308/0.73, allocations: 75.95 kB / 0.8637 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007615/0.7377, allocations: 2.392 MB / 0.866 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.875e-06/0.7377, allocations: 0 / 0.866 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.7377, allocations: 4 kB / 0.866 GB, free: 0.7148 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005854/0.7383, allocations: 362.5 kB / 0.8664 GB, free: 324 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.748e-05/0.7384, allocations: 8.031 kB / 0.8664 GB, free: 316 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.515e-05/0.7384, allocations: 11.91 kB / 0.8664 GB, free: 304 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.7387, allocations: 171 kB / 0.8665 GB, free: 92 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/0.7388, allocations: 33.66 kB / 0.8666 GB, free: 52 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.7388, allocations: 4 kB / 0.8666 GB, free: 48 kB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/0.7389, allocations: 27.92 kB / 0.8666 GB, free: 20 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.7391, allocations: 49.73 kB / 0.8666 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.739e-06/0.7391, allocations: 0 / 0.8666 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.7391, allocations: 0 / 0.8666 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.7391, allocations: 7.938 kB / 0.8667 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006215/0.7397, allocations: 293.3 kB / 0.8669 GB, free: 15.63 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.814e-05/0.7398, allocations: 34.56 kB / 0.867 GB, free: 15.59 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.611e-05/0.7399, allocations: 16.86 kB / 0.867 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.7399, allocations: 4 kB / 0.867 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.74, allocations: 38.5 kB / 0.867 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.593e-06/0.74, allocations: 0 / 0.867 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0001878/0.7402, allocations: 53.69 kB / 0.8671 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.7402, allocations: 51.41 kB / 0.8671 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.7403, allocations: 97 kB / 0.8672 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.7404, allocations: 25.7 kB / 0.8672 GB, free: 15.26 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.589e-05/0.7404, allocations: 96.12 kB / 0.8673 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.7405, allocations: 15.75 kB / 0.8673 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.7405, allocations: 0 / 0.8673 GB, free: 15.15 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.7406, allocations: 310.8 kB / 0.8676 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.7407, allocations: 12 kB / 0.8677 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.175e-05/0.7407, allocations: 17.72 kB / 0.8677 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.242e-05/0.7408, allocations: 19.94 kB / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.7408, allocations: 0 / 0.8677 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.159e-05/0.7409, allocations: 65.62 kB / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.7409, allocations: 4 kB / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.7409, allocations: 0 / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.7409, allocations: 0 / 0.8678 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.7411, allocations: 15.98 kB / 0.8678 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7411, allocations: 4 kB / 0.8678 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.7411, allocations: 7.906 kB / 0.8678 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.7411, allocations: 4.031 kB / 0.8678 GB, free: 14.68 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.7413, allocations: 112.9 kB / 0.8679 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.107e-05/0.7414, allocations: 49.69 kB / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.7414, allocations: 3.906 kB / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.301e-05/0.7414, allocations: 16.47 kB / 0.868 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7414, allocations: 3.984 kB / 0.868 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7415, allocations: 3.828 kB / 0.868 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.7415, allocations: 0 / 0.868 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.7416, allocations: 150.2 kB / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.7417, allocations: 0 / 0.8681 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.53e-05/0.7417, allocations: 19.98 kB / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.7418, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.7418, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.7418, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.7418, allocations: 0 / 0.8681 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.7419, allocations: 155.4 kB / 0.8683 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.235e-05/0.742, allocations: 84.95 kB / 0.8684 GB, free: 14 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.742, allocations: 7.984 kB / 0.8684 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.7422, allocations: 15.98 kB / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.481e-05/0.7422, allocations: 0 / 0.8684 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.7423, allocations: 4.125 kB / 0.8684 GB, free: 13.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.83e-05/0.7423, allocations: 91.02 kB / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7423, allocations: 0 / 0.8685 GB, free: 13.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002113/0.7425, allocations: 11.94 kB / 0.8685 GB, free: 13.88 MB / 0.5417 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 (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005242/0.7431, allocations: 0.6812 MB / 0.8692 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001033/0.7432, allocations: 24 kB / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7432, allocations: 0 / 0.8692 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.052e-05/0.7432, allocations: 12 kB / 0.8692 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.7434, allocations: 7.984 kB / 0.8692 GB, free: 13.12 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003859/0.7438, allocations: 117.5 kB / 0.8693 GB, free: 12.97 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.7442, allocations: 0.6923 MB / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.261e-05/0.7442, allocations: 7.938 kB / 0.87 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.765e-05/0.7443, allocations: 15.42 kB / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.7443, allocations: 0 / 0.87 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02292/0.7672, allocations: 1.162 MB / 0.8711 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.7675, allocations: 162.6 kB / 0.8713 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.53, allocations: 0.625 kB / 0.8713 GB, free: 10.89 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_TotalAirDryAir.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.TotalAirDryAir.pipe 2>&1)