Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.32/1.32, allocations: 252 MB / 267.9 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 178.8 kB / 327.6 MB, free: 2.18 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.334/1.334, allocations: 205.4 MB / 0.5785 GB, free: 20.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007169/0.0007169, allocations: 96.73 kB / 0.6831 GB, free: 12.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003252/0.0003253, allocations: 11.66 kB / 0.7974 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 106.3 MB / 0.9012 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6442/0.799, allocations: 359.5 MB / 1.252 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/0.7993, allocations: 69.22 kB / 1.252 GB, free: 6.852 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.02615/0.8254, allocations: 12.72 MB / 1.265 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8255, allocations: 0 / 1.265 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.7e-06/0.8255, allocations: 0 / 1.265 GB, free: 12.87 MB / 0.7761 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.0003286/0.8258, allocations: 363.2 kB / 1.265 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.8259, allocations: 8.031 kB / 1.265 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.341e-05/0.826, allocations: 8.938 kB / 1.265 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.356e-05/0.8261, allocations: 160.4 kB / 1.265 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.8261, allocations: 8.359 kB / 1.265 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.8261, allocations: 8.188 kB / 1.265 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.8262, allocations: 53.17 kB / 1.265 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.8263, allocations: 192 / 1.265 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.8263, allocations: 3.938 kB / 1.265 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.8263, allocations: 0 / 1.265 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.321e-05/0.8264, allocations: 27.47 kB / 1.265 GB, free: 12.17 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001587/0.8265, allocations: 173.1 kB / 1.266 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.676e-05/0.8266, allocations: 45.62 kB / 1.266 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.8266, allocations: 20.66 kB / 1.266 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006318/0.8273, allocations: 0.5849 MB / 1.266 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.8273, allocations: 42.48 kB / 1.266 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=5): time 1.152e-06/0.8273, allocations: 0 / 1.266 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7): time 0.0005103/0.8278, allocations: 304.2 kB / 1.267 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.8279, allocations: 55.41 kB / 1.267 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.958e-05/0.8279, allocations: 101.5 kB / 1.267 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.828, allocations: 25.7 kB / 1.267 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.828, allocations: 88.12 kB / 1.267 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.906e-05/0.828, allocations: 29.75 kB / 1.267 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-06/0.828, allocations: 3.938 kB / 1.267 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.65e-05/0.8281, allocations: 326.1 kB / 1.267 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.626e-05/0.8282, allocations: 11.69 kB / 1.267 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.414e-05/0.8282, allocations: 45.66 kB / 1.267 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.8283, allocations: 82.89 kB / 1.267 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.8283, allocations: 0 / 1.267 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001167/0.8284, allocations: 89.06 kB / 1.267 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.8285, allocations: 8.109 kB / 1.267 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.8285, allocations: 8 kB / 1.267 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.8285, allocations: 0 / 1.267 GB, free: 9.945 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.952e-05/0.8286, allocations: 16.28 kB / 1.267 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.8286, allocations: 4 kB / 1.267 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.8286, allocations: 0 / 1.267 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.8286, allocations: 4 kB / 1.267 GB, free: 9.922 MB / 0.7761 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 6.74e-05/0.8287, allocations: 125.1 kB / 1.268 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.8287, allocations: 11.59 kB / 1.268 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.8288, allocations: 15.83 kB / 1.268 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.8288, allocations: 0 / 1.268 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8288, allocations: 3.938 kB / 1.268 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.8288, allocations: 448 / 1.268 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.829, allocations: 173.2 kB / 1.268 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.829, allocations: 0 / 1.268 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.8291, allocations: 23.98 kB / 1.268 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.8291, allocations: 0 / 1.268 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.8291, allocations: 3.062 kB / 1.268 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.8291, allocations: 0 / 1.268 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.8291, allocations: 0 / 1.268 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.8293, allocations: 181.9 kB / 1.268 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 4.016e-05/0.8294, allocations: 81.02 kB / 1.268 GB, free: 9.254 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8294, allocations: 7.625 kB / 1.268 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.66e-05/0.8295, allocations: 3.938 kB / 1.268 GB, free: 9.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.8295, allocations: 7.984 kB / 1.268 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.8295, allocations: 0 / 1.268 GB, free: 9.238 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.8295, allocations: 83.22 kB / 1.268 GB, free: 9.16 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8295, allocations: 4 kB / 1.268 GB, free: 9.156 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000228/0.8298, allocations: 12 kB / 1.268 GB, free: 9.145 MB / 0.7761 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.0001479/0.8299, allocations: 118.8 kB / 1.268 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.83, allocations: 51.03 kB / 1.268 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8301, allocations: 0 / 1.268 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.145e-05/0.8301, allocations: 19.48 kB / 1.268 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.8303, allocations: 4 kB / 1.268 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005401/0.8309, allocations: 394.7 kB / 1.269 GB, free: 8.559 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.8311, allocations: 0.6848 MB / 1.269 GB, free: 7.848 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.532e-05/0.8311, allocations: 7.984 kB / 1.269 GB, free: 7.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.814e-05/0.8312, allocations: 11.44 kB / 1.269 GB, free: 7.828 MB / 0.7761 GB Notification: Performance of SimCode: time 2e-07/0.8312, allocations: 4 kB / 1.269 GB, free: 7.824 MB / 0.7761 GB Notification: Performance of Templates: time 0.002707/0.8339, allocations: 0.8614 MB / 1.27 GB, free: 6.973 MB / 0.7761 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.makefile (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1)