Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.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.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX",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.8212/0.8212, allocations: 143.3 MB / 158.3 MB, free: 5.797 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.00108/0.00108, allocations: 180.5 kB / 191.5 MB, free: 5.762 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.565/1.565, allocations: 223.1 MB / 447.7 MB, free: 4.836 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.0009261/0.0009261, allocations: 92.38 kB / 0.5187 GB, free: 1.191 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001903/0.001903, allocations: 276.7 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004529/0.0004529, allocations: 17.59 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1851/0.1856, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6037/0.7893, allocations: 135.8 MB / 0.9064 GB, free: 21.81 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002433/0.7896, allocations: 75.42 kB / 0.9065 GB, free: 21.81 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.005093/0.7947, allocations: 2.2 MB / 0.9086 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7948, allocations: 0 / 0.9086 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.625e-06/0.7948, allocations: 7.969 kB / 0.9086 GB, free: 21.38 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004122/0.7952, allocations: 380 kB / 0.909 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.7953, allocations: 7.75 kB / 0.909 GB, free: 21.01 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.484e-05/0.7953, allocations: 40.75 kB / 0.9091 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.498e-05/0.7953, allocations: 3.906 kB / 0.9091 GB, free: 20.97 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.286e-05/0.7954, allocations: 170.9 kB / 0.9092 GB, free: 20.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.7954, allocations: 3.938 kB / 0.9092 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.7955, allocations: 9.5 kB / 0.9092 GB, free: 20.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000241/0.7957, allocations: 80.03 kB / 0.9093 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.7957, allocations: 3.906 kB / 0.9093 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.7957, allocations: 4 kB / 0.9093 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.7957, allocations: 0.5 kB / 0.9093 GB, free: 20.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.796, allocations: 93.97 kB / 0.9094 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003554/0.7964, allocations: 290.8 kB / 0.9097 GB, free: 20.45 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.7966, allocations: 67 kB / 0.9097 GB, free: 20.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.7967, allocations: 88.33 kB / 0.9098 GB, free: 20.32 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.7968, allocations: 30.56 kB / 0.9099 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 2.184e-06/0.7968, allocations: 0 / 0.9099 GB, free: 20.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0005043/0.7973, allocations: 177.1 kB / 0.91 GB, free: 20.24 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.7973, allocations: 55.36 kB / 0.9101 GB, free: 20.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.41e-05/0.7974, allocations: 104 kB / 0.9102 GB, free: 20.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.7974, allocations: 29.64 kB / 0.9102 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.655e-05/0.7975, allocations: 95.67 kB / 0.9103 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.669e-05/0.7975, allocations: 7.469 kB / 0.9103 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.7975, allocations: 4 kB / 0.9103 GB, free: 19.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/0.7976, allocations: 318.6 kB / 0.9106 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.7977, allocations: 40.91 kB / 0.9107 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001295/0.7978, allocations: 45.66 kB / 0.9107 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.798, allocations: 40.02 kB / 0.9107 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.798, allocations: 4 kB / 0.9107 GB, free: 19.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002833/0.7983, allocations: 121 kB / 0.9109 GB, free: 19.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.7983, allocations: 10.42 kB / 0.9109 GB, free: 19.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7983, allocations: 0 / 0.9109 GB, free: 19.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7983, allocations: 3.938 kB / 0.9109 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.7984, allocations: 18.59 kB / 0.9109 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.7985, allocations: 3 kB / 0.9109 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.28e-05/0.7986, allocations: 22.02 kB / 0.9109 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.507e-06/0.7986, allocations: 1.375 kB / 0.9109 GB, free: 19.59 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.862e-05/0.7986, allocations: 116.6 kB / 0.911 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.7987, allocations: 3.906 kB / 0.911 GB, free: 19.47 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.799, allocations: 134.1 kB / 0.9112 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.799, allocations: 0.7031 kB / 0.9112 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.799, allocations: 0 / 0.9112 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.799, allocations: 0 / 0.9112 GB, free: 19.43 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001448/0.7992, allocations: 179.8 kB / 0.9113 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.7992, allocations: 0 / 0.9113 GB, free: 19.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.49e-05/0.7993, allocations: 25.03 kB / 0.9114 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.806e-06/0.7993, allocations: 3.875 kB / 0.9114 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.7993, allocations: 0 / 0.9114 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.7993, allocations: 0.5 kB / 0.9114 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7993, allocations: 0.5469 kB / 0.9114 GB, free: 19.22 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003181/0.7997, allocations: 228 kB / 0.9116 GB, free: 19.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.841e-05/0.7997, allocations: 81.02 kB / 0.9117 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.7997, allocations: 0.6875 kB / 0.9117 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.7998, allocations: 19.94 kB / 0.9117 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.7999, allocations: 6.453 kB / 0.9117 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.7999, allocations: 0 / 0.9117 GB, free: 18.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.564e-05/0.7999, allocations: 94.16 kB / 0.9118 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8, allocations: 4 kB / 0.9118 GB, free: 18.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002194/0.8002, allocations: 19.38 kB / 0.9118 GB, free: 18.9 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 (3): * Single equations (assignments): 3 * 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.000584/0.8008, allocations: 0.7852 MB / 0.9126 GB, free: 18.23 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.8011, allocations: 94.05 kB / 0.9126 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.8011, allocations: 0 / 0.9126 GB, free: 18.22 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.8012, allocations: 53.48 kB / 0.9127 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001784/0.8014, allocations: 12.25 kB / 0.9127 GB, free: 18.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.8025, allocations: 0.5768 MB / 0.9133 GB, free: 17.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.8026, allocations: 0.69 MB / 0.9139 GB, free: 17.16 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.61e-05/0.8027, allocations: 3.984 kB / 0.9139 GB, free: 17.16 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.8027, allocations: 17.83 kB / 0.914 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.8027, allocations: 0 / 0.914 GB, free: 17.15 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.8165, allocations: 2.259 MB / 0.9162 GB, free: 16.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/0.8167, allocations: 206.4 kB / 0.9164 GB, free: 16.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/2.363, allocations: 3.875 kB / 0.9164 GB, free: 16.7 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1)