Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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: translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8797/0.8797, allocations: 143.4 MB / 158.3 MB, free: 5.809 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.001635/0.001635, allocations: 181 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.722/1.722, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.001043/0.001043, allocations: 88.33 kB / 0.5188 GB, free: 1.176 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001751/0.001751, allocations: 280.1 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000427/0.000427, allocations: 12.12 kB / 0.6928 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2174, allocations: 82.81 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8409/1.058, allocations: 337.8 MB / 1.104 GB, free: 256 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/1.059, allocations: 77.7 kB / 1.104 GB, free: 216 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.02984/1.089, allocations: 13.37 MB / 1.117 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.974e-06/1.089, allocations: 4 kB / 1.117 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.089, allocations: 4 kB / 1.117 GB, free: 5.633 MB / 0.6823 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.0004209/1.089, allocations: 342.4 kB / 1.117 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.089, allocations: 8.031 kB / 1.117 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/1.089, allocations: 4.625 kB / 1.117 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/1.089, allocations: 171 kB / 1.117 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/1.089, allocations: 3.5 kB / 1.117 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/1.089, allocations: 11.84 kB / 1.117 GB, free: 5.023 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/1.09, allocations: 63.95 kB / 1.117 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/1.09, allocations: 0 / 1.117 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/1.09, allocations: 2.125 kB / 1.117 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/1.09, allocations: 0 / 1.117 GB, free: 4.961 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.713e-05/1.09, allocations: 19.8 kB / 1.117 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002123/1.09, allocations: 168.8 kB / 1.117 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001037/1.09, allocations: 57.61 kB / 1.118 GB, free: 4.68 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008169/1.091, allocations: 0.5971 MB / 1.118 GB, free: 3.988 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.091, allocations: 38.56 kB / 1.118 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/1.091, allocations: 0 / 1.118 GB, free: 3.941 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006217/1.092, allocations: 299.6 kB / 1.118 GB, free: 3.621 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/1.092, allocations: 51.41 kB / 1.119 GB, free: 3.559 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.926e-05/1.092, allocations: 99.89 kB / 1.119 GB, free: 3.457 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/1.092, allocations: 25.7 kB / 1.119 GB, free: 3.426 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/1.092, allocations: 95.41 kB / 1.119 GB, free: 3.332 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/1.092, allocations: 19.53 kB / 1.119 GB, free: 3.316 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.52e-06/1.092, allocations: 4 kB / 1.119 GB, free: 3.312 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.092, allocations: 318.8 kB / 1.119 GB, free: 2.996 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.771e-05/1.092, allocations: 11.94 kB / 1.119 GB, free: 2.984 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/1.092, allocations: 56.95 kB / 1.119 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.073e-05/1.092, allocations: 15.44 kB / 1.119 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/1.092, allocations: 0 / 1.119 GB, free: 2.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001405/1.092, allocations: 97.14 kB / 1.119 GB, free: 2.82 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/1.092, allocations: 9.844 kB / 1.119 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/1.092, allocations: 0 / 1.119 GB, free: 2.812 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/1.092, allocations: 4 kB / 1.119 GB, free: 2.809 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.856e-05/1.092, allocations: 23.92 kB / 1.119 GB, free: 2.785 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/1.092, allocations: 4 kB / 1.119 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.833e-05/1.092, allocations: 7.578 kB / 1.119 GB, free: 2.777 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.808e-06/1.093, allocations: 4 kB / 1.119 GB, free: 2.773 MB / 0.6823 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 9.449e-05/1.093, allocations: 118.2 kB / 1.119 GB, free: 2.652 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/1.093, allocations: 4 kB / 1.119 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.796e-05/1.093, allocations: 15.77 kB / 1.119 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.093, allocations: 0 / 1.119 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.093, allocations: 0 / 1.119 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.093, allocations: 0 / 1.119 GB, free: 2.641 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/1.093, allocations: 179.7 kB / 1.12 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/1.093, allocations: 288 / 1.12 GB, free: 2.422 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.05e-05/1.093, allocations: 19.94 kB / 1.12 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/1.093, allocations: 0 / 1.12 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/1.093, allocations: 3.938 kB / 1.12 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.093, allocations: 0 / 1.12 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/1.093, allocations: 0 / 1.12 GB, free: 2.402 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002234/1.093, allocations: 179.1 kB / 1.12 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/1.093, allocations: 85.14 kB / 1.12 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/1.093, allocations: 448 / 1.12 GB, free: 2.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/1.094, allocations: 7.938 kB / 1.12 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.687e-05/1.094, allocations: 3.984 kB / 1.12 GB, free: 2.109 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/1.094, allocations: 11.56 kB / 1.12 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.563e-05/1.094, allocations: 83.22 kB / 1.12 GB, free: 2.02 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.094, allocations: 4 kB / 1.12 GB, free: 2.016 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002367/1.094, allocations: 15.81 kB / 1.12 GB, free: 2.004 MB / 0.6823 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.0002005/1.094, allocations: 122.5 kB / 1.12 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001149/1.094, allocations: 39.86 kB / 1.12 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/1.094, allocations: 0 / 1.12 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.421e-05/1.094, allocations: 15.94 kB / 1.12 GB, free: 1.832 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/1.094, allocations: 8.594 kB / 1.12 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006307/1.095, allocations: 398.8 kB / 1.121 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002824/1.095, allocations: 0.6887 MB / 1.121 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.469e-05/1.095, allocations: 4 kB / 1.121 GB, free: 0.6953 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.27e-05/1.095, allocations: 15.44 kB / 1.121 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of SimCode: time 3.41e-07/1.095, allocations: 0 / 1.121 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of Templates: time 0.00309/1.099, allocations: 0.8456 MB / 1.122 GB, free: 15.84 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1)