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.8209/0.8209, allocations: 143.3 MB / 158.3 MB, free: 5.758 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.001042/0.001042, allocations: 177 kB / 191.5 MB, free: 5.746 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.523/1.523, allocations: 223.2 MB / 447.7 MB, free: 6.535 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.001009/0.00101, allocations: 96.19 kB / 0.5187 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 279.8 kB / 0.6005 GB, free: 48.95 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004762, allocations: 20 kB / 0.6929 GB, free: 2.188 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.448, allocations: 82.77 MB / 0.7738 GB, free: 26.19 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1564/0.6045, allocations: 109.4 MB / 0.8806 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/0.6048, allocations: 79.94 kB / 0.8807 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006937/0.6118, allocations: 2.403 MB / 0.883 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6118, allocations: 4 kB / 0.883 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.6118, allocations: 0 / 0.883 GB, free: 10.14 MB / 0.5417 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.0004456/0.6123, allocations: 375.2 kB / 0.8834 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.6123, allocations: 8.031 kB / 0.8834 GB, free: 9.723 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.6124, allocations: 34.56 kB / 0.8834 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.6124, allocations: 7.906 kB / 0.8835 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.6125, allocations: 182.9 kB / 0.8836 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.6126, allocations: 37.64 kB / 0.8837 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.6126, allocations: 8 kB / 0.8837 GB, free: 9.402 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.6128, allocations: 73.66 kB / 0.8837 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6128, allocations: 0 / 0.8837 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.6129, allocations: 0 / 0.8837 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.6129, allocations: 8 kB / 0.8837 GB, free: 9.316 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.6131, allocations: 51.95 kB / 0.8838 GB, free: 9.266 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.6136, allocations: 316.7 kB / 0.8841 GB, free: 8.906 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.6137, allocations: 50.56 kB / 0.8841 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.6138, allocations: 3.938 kB / 0.8842 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.834e-05/0.6138, allocations: 34.66 kB / 0.8842 GB, free: 8.801 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.6138, allocations: 4 kB / 0.8842 GB, free: 8.797 MB / 0.5417 GB Notification: Performance of matching and sorting (n=4): time 0.0003689/0.6142, allocations: 117.5 kB / 0.8843 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.6142, allocations: 55.41 kB / 0.8844 GB, free: 8.609 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.6143, allocations: 101 kB / 0.8845 GB, free: 8.504 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.6143, allocations: 29.64 kB / 0.8845 GB, free: 8.469 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.6144, allocations: 95.98 kB / 0.8846 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.6144, allocations: 7.906 kB / 0.8846 GB, free: 8.363 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.6144, allocations: 4 kB / 0.8846 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.6145, allocations: 318.8 kB / 0.8849 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.6146, allocations: 27.98 kB / 0.8849 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.6147, allocations: 49.69 kB / 0.885 GB, free: 7.957 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.752e-05/0.6148, allocations: 27.98 kB / 0.885 GB, free: 7.93 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.6148, allocations: 3.938 kB / 0.885 GB, free: 7.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000238/0.6151, allocations: 89.56 kB / 0.8851 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.6151, allocations: 8 kB / 0.8851 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.6151, allocations: 0 / 0.8851 GB, free: 7.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.6151, allocations: 4.031 kB / 0.8851 GB, free: 7.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6153, allocations: 15.98 kB / 0.8851 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6153, allocations: 3.938 kB / 0.8851 GB, free: 7.801 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.903e-05/0.6153, allocations: 15.98 kB / 0.8851 GB, free: 7.785 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6153, allocations: 4 kB / 0.8851 GB, free: 7.781 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 () * Number of clocked 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 8.112e-05/0.6154, allocations: 110.3 kB / 0.8852 GB, free: 7.664 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.6155, allocations: 11.91 kB / 0.8852 GB, free: 7.652 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.534e-05/0.6155, allocations: 7.906 kB / 0.8852 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.6155, allocations: 0 / 0.8852 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.6155, allocations: 0 / 0.8852 GB, free: 7.641 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.6155, allocations: 3.984 kB / 0.8853 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.6157, allocations: 185.6 kB / 0.8854 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6157, allocations: 0 / 0.8854 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.119e-05/0.6158, allocations: 15.98 kB / 0.8854 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.6158, allocations: 0 / 0.8854 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.6159, allocations: 0 / 0.8854 GB, free: 7.391 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6159, allocations: 4 kB / 0.8854 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.6159, allocations: 0 / 0.8854 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000317/0.6162, allocations: 195.3 kB / 0.8856 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.971e-05/0.6163, allocations: 85.02 kB / 0.8857 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.6163, allocations: 4 kB / 0.8857 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000171/0.6165, allocations: 15.98 kB / 0.8857 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6165, allocations: 0 / 0.8857 GB, free: 7.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.6165, allocations: 3.984 kB / 0.8857 GB, free: 7.055 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.6166, allocations: 87.28 kB / 0.8858 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6166, allocations: 0 / 0.8858 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002577/0.6169, allocations: 8 kB / 0.8858 GB, free: 6.961 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 () * Number of clocked 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.0006424/0.6175, allocations: 0.7163 MB / 0.8865 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.6178, allocations: 72.16 kB / 0.8866 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6178, allocations: 0 / 0.8866 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.6179, allocations: 32.05 kB / 0.8866 GB, free: 6.117 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002621/0.6182, allocations: 18.67 kB / 0.8866 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.6189, allocations: 0.4976 MB / 0.8871 GB, free: 5.551 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6192, allocations: 0.6848 MB / 0.8878 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.511e-05/0.6193, allocations: 11.97 kB / 0.8878 GB, free: 4.828 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.059e-05/0.6194, allocations: 11.44 kB / 0.8878 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/0.6194, allocations: 0 / 0.8878 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.6317, allocations: 1.485 MB / 0.8893 GB, free: 3.516 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001878/0.6319, allocations: 198.6 kB / 0.8895 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.247, allocations: 0 / 0.8895 GB, free: 3.273 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)