Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6873/0.6873, allocations: 117.9 MB / 133.9 MB, free: 4.551 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 181.9 kB / 161.7 MB, free: 2.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.279/2.279, allocations: 205.3 MB / 394.8 MB, free: 20.94 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 93.23 kB / 470.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004649, allocations: 19.98 kB / 0.5423 GB, free: 6.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4657/0.4662, allocations: 74.53 MB / 0.6151 GB, free: 54.16 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7649/1.231, allocations: 325.5 MB / 0.933 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/1.231, allocations: 77.06 kB / 0.9331 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.02821/1.26, allocations: 12.72 MB / 0.9455 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/1.26, allocations: 0 / 0.9455 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.205e-06/1.26, allocations: 0 / 0.9455 GB, free: 11.87 MB / 0.6042 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.0005842/1.26, allocations: 345.4 kB / 0.9458 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/1.26, allocations: 16.03 kB / 0.9459 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001674/1.261, allocations: 8.844 kB / 0.9459 GB, free: 11.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.261, allocations: 160.4 kB / 0.946 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.261, allocations: 3.438 kB / 0.946 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.467e-05/1.261, allocations: 4.375 kB / 0.946 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/1.261, allocations: 57.42 kB / 0.9461 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/1.261, allocations: 192 / 0.9461 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/1.261, allocations: 3.938 kB / 0.9461 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.261, allocations: 4 kB / 0.9461 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.185e-05/1.261, allocations: 23.59 kB / 0.9461 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003057/1.262, allocations: 160.9 kB / 0.9463 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/1.262, allocations: 49.62 kB / 0.9463 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.961e-05/1.262, allocations: 16.53 kB / 0.9463 GB, free: 10.92 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001071/1.263, allocations: 0.6122 MB / 0.9469 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.649e-05/1.263, allocations: 37.88 kB / 0.947 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.784e-06/1.263, allocations: 0 / 0.947 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0007593/1.264, allocations: 291.9 kB / 0.9472 GB, free: 9.855 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/1.264, allocations: 51.41 kB / 0.9473 GB, free: 9.793 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/1.264, allocations: 97.8 kB / 0.9474 GB, free: 9.688 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/1.264, allocations: 33.52 kB / 0.9474 GB, free: 9.652 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/1.264, allocations: 92.03 kB / 0.9475 GB, free: 9.559 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/1.264, allocations: 26.56 kB / 0.9475 GB, free: 9.535 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.256e-06/1.264, allocations: 7.312 kB / 0.9475 GB, free: 9.531 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.264, allocations: 318.8 kB / 0.9478 GB, free: 9.211 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.759e-05/1.264, allocations: 11.94 kB / 0.9479 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.951e-05/1.264, allocations: 56.83 kB / 0.9479 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/1.265, allocations: 72.58 kB / 0.948 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/1.265, allocations: 0 / 0.948 GB, free: 9.059 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001602/1.265, allocations: 97.05 kB / 0.9481 GB, free: 8.973 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/1.265, allocations: 12.03 kB / 0.9481 GB, free: 8.961 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.265, allocations: 3.984 kB / 0.9481 GB, free: 8.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/1.265, allocations: 4 kB / 0.9481 GB, free: 8.953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.706e-05/1.265, allocations: 16 kB / 0.9481 GB, free: 8.938 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/1.265, allocations: 3.938 kB / 0.9481 GB, free: 8.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.578e-05/1.265, allocations: 7.984 kB / 0.9481 GB, free: 8.926 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/1.265, allocations: 4 kB / 0.9481 GB, free: 8.922 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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.0001034/1.265, allocations: 117.5 kB / 0.9482 GB, free: 8.801 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/1.265, allocations: 7.906 kB / 0.9482 GB, free: 8.793 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.845e-05/1.265, allocations: 7.906 kB / 0.9482 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/1.265, allocations: 4 kB / 0.9482 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/1.265, allocations: 0 / 0.9482 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/1.265, allocations: 0 / 0.9482 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002743/1.265, allocations: 181 kB / 0.9484 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/1.266, allocations: 0 / 0.9484 GB, free: 8.566 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.451e-05/1.266, allocations: 19.92 kB / 0.9484 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/1.266, allocations: 0 / 0.9484 GB, free: 8.547 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/1.266, allocations: 7.875 kB / 0.9484 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.626e-06/1.266, allocations: 0 / 0.9484 GB, free: 8.543 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/1.266, allocations: 7.938 kB / 0.9485 GB, free: 8.535 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/1.266, allocations: 167 kB / 0.9486 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.339e-05/1.266, allocations: 85.02 kB / 0.9487 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/1.266, allocations: 0 / 0.9487 GB, free: 8.266 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/1.266, allocations: 8.031 kB / 0.9487 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.907e-05/1.266, allocations: 3.688 kB / 0.9487 GB, free: 8.258 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/1.266, allocations: 4 kB / 0.9487 GB, free: 8.254 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.66e-05/1.266, allocations: 79.28 kB / 0.9488 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3e-07/1.266, allocations: 0 / 0.9488 GB, free: 8.176 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002448/1.266, allocations: 19.88 kB / 0.9488 GB, free: 8.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0002278/1.267, allocations: 138.8 kB / 0.9489 GB, free: 8.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001549/1.267, allocations: 43.59 kB / 0.949 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.267, allocations: 0 / 0.949 GB, free: 7.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.453e-05/1.267, allocations: 15.73 kB / 0.949 GB, free: 7.969 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002446/1.267, allocations: 10.89 kB / 0.949 GB, free: 7.965 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/1.268, allocations: 390.5 kB / 0.9494 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/1.268, allocations: 0.6848 MB / 0.95 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.304e-05/1.268, allocations: 8 kB / 0.9501 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.242e-05/1.268, allocations: 11.44 kB / 0.9501 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of SimCode: time 1.924e-06/1.268, allocations: 0 / 0.9501 GB, free: 6.832 MB / 0.6042 GB Notification: Performance of Templates: time 0.003299/1.272, allocations: 0.8644 MB / 0.9509 GB, free: 5.977 MB / 0.6042 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)