Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") translateModel(Buildings.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 98.53 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001453, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005136/0.0005137, allocations: 14.44 kB / 0.6735 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.2612, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterDerivativeCheck): time 0.001613/0.2629, allocations: 0.9609 MB / 0.788 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003523/0.2664, allocations: 2.834 MB / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.307e-05/0.2665, allocations: 0 / 0.7908 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.737e-05/0.2665, allocations: 3.984 kB / 0.7908 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.744e-05/0.2666, allocations: 7.984 kB / 0.7908 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004578/0.267, allocations: 91.66 kB / 0.7909 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.292e-05/0.2671, allocations: 23.91 kB / 0.7909 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.19e-05/0.2672, allocations: 4 kB / 0.7909 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.2672, allocations: 19.97 kB / 0.7909 GB, free: 8 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.2673, allocations: 19.92 kB / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2673, allocations: 0 / 0.791 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002142/0.2675, allocations: 59.95 kB / 0.791 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.85e-05/0.2676, allocations: 7.922 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.2676, allocations: 37.7 kB / 0.7911 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.2678, allocations: 44.11 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2678, allocations: 0 / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2678, allocations: 0 / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.563e-06/0.2678, allocations: 0 / 0.7911 GB, free: 7.828 MB / 0.6075 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.000462/0.2683, allocations: 335.3 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2683, allocations: 8.031 kB / 0.7914 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.2685, allocations: 7.953 kB / 0.7914 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001209/0.2686, allocations: 167 kB / 0.7916 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.2686, allocations: 11.94 kB / 0.7916 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.2687, allocations: 8 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2688, allocations: 57.59 kB / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.2688, allocations: 0 / 0.7917 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2689, allocations: 4 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.2689, allocations: 0 / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.017e-05/0.2689, allocations: 15.98 kB / 0.7917 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.2691, allocations: 169.6 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.684e-05/0.2692, allocations: 58.48 kB / 0.7919 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/0.27, allocations: 0.5868 MB / 0.7925 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.27, allocations: 30.56 kB / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.372e-06/0.27, allocations: 0 / 0.7925 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006047/0.2706, allocations: 306.5 kB / 0.7928 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.861e-05/0.2707, allocations: 51.41 kB / 0.7929 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.589e-05/0.2708, allocations: 105.8 kB / 0.793 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.2708, allocations: 29.7 kB / 0.793 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.2709, allocations: 84.05 kB / 0.7931 GB, free: 5.469 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.078e-05/0.2709, allocations: 31.55 kB / 0.7931 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.2709, allocations: 4 kB / 0.7931 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.271, allocations: 310.8 kB / 0.7934 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.856e-05/0.2711, allocations: 19.98 kB / 0.7934 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.444e-05/0.2711, allocations: 53.09 kB / 0.7935 GB, free: 5.031 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.828e-05/0.2712, allocations: 19.98 kB / 0.7935 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.2712, allocations: 4 kB / 0.7935 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001264/0.2713, allocations: 93.55 kB / 0.7936 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2713, allocations: 7.953 kB / 0.7936 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2713, allocations: 4 kB / 0.7936 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2714, allocations: 0.7188 kB / 0.7936 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.412e-05/0.2714, allocations: 19.94 kB / 0.7936 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.2715, allocations: 7.984 kB / 0.7936 GB, free: 4.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.2715, allocations: 4 kB / 0.7936 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.2715, allocations: 4 kB / 0.7936 GB, free: 4.863 MB / 0.6075 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 8.715e-05/0.2716, allocations: 118 kB / 0.7937 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.2716, allocations: 11.89 kB / 0.7937 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.2717, allocations: 11.92 kB / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.2717, allocations: 0 / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.2717, allocations: 0 / 0.7938 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.2717, allocations: 4 kB / 0.7938 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.2719, allocations: 169.7 kB / 0.7939 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.272, allocations: 4 kB / 0.7939 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.333e-05/0.272, allocations: 19.92 kB / 0.7939 GB, free: 4.473 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2721, allocations: 7.938 kB / 0.794 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.882e-06/0.2721, allocations: 0 / 0.794 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.2721, allocations: 3.953 kB / 0.794 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.2721, allocations: 7.938 kB / 0.794 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.2723, allocations: 167.5 kB / 0.7941 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.2723, allocations: 81.02 kB / 0.7942 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.723e-05/0.2724, allocations: 8 kB / 0.7942 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.2725, allocations: 4.031 kB / 0.7942 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.192e-05/0.2725, allocations: 11.95 kB / 0.7942 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.2725, allocations: 0 / 0.7942 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.2726, allocations: 83.28 kB / 0.7943 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.473e-06/0.2726, allocations: 0 / 0.7943 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000227/0.2728, allocations: 15.94 kB / 0.7943 GB, free: 4.055 MB / 0.6075 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.0001355/0.2729, allocations: 103.2 kB / 0.7944 GB, free: 3.941 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2731, allocations: 39.92 kB / 0.7945 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2731, allocations: 0 / 0.7945 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.338e-05/0.2731, allocations: 16 kB / 0.7945 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.2733, allocations: 4 kB / 0.7945 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006041/0.2739, allocations: 389.5 kB / 0.7948 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002929/0.2742, allocations: 0.6848 MB / 0.7955 GB, free: 2.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.505e-05/0.2743, allocations: 15.92 kB / 0.7955 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.49e-05/0.2743, allocations: 11.44 kB / 0.7955 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2743, allocations: 0 / 0.7955 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.003149/0.2775, allocations: 0.5626 MB / 0.7961 GB, free: 2.18 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.sim & ./Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Media.Examples.WaterDerivativeCheck.pipe 2>&1) Environment - environmentSimulation: