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/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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 115.3 kB / 15.34 MB, free: 0.5078 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.001626/0.001626, allocations: 191.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 239.9 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002043/0.002043, allocations: 282.7 kB / 290.4 MB, free: 2.027 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9213/0.9213, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 94.55 kB / 0.5947 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1376, allocations: 86.98 MB / 0.6796 GB, free: 1.031 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002244/0.1399, allocations: 1.324 MB / 0.6809 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003497/0.1434, allocations: 3.223 MB / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.287e-05/0.1435, allocations: 0 / 0.6841 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.675e-05/0.1435, allocations: 7.922 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.535e-05/0.1435, allocations: 7.922 kB / 0.6841 GB, free: 12.46 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004701/0.144, allocations: 103.6 kB / 0.6842 GB, free: 12.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.1441, allocations: 27.92 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.908e-05/0.1441, allocations: 0 / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.806e-05/0.1442, allocations: 31.84 kB / 0.6842 GB, free: 12.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.535e-05/0.1442, allocations: 15.98 kB / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.728e-06/0.1443, allocations: 0 / 0.6842 GB, free: 12.28 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1445, allocations: 75.8 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.588e-05/0.1445, allocations: 11.94 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.1446, allocations: 15.98 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001549/0.1447, allocations: 72.08 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1447, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1447, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.1447, allocations: 0 / 0.6844 GB, free: 12.11 MB / 494.1 MB 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.000358/0.1451, allocations: 347.5 kB / 0.6847 GB, free: 11.72 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.1451, allocations: 8.031 kB / 0.6847 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.1452, allocations: 12.78 kB / 0.6848 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001593/0.1454, allocations: 176.3 kB / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.364e-06/0.1454, allocations: 384 / 0.6849 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.1454, allocations: 8.375 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.1456, allocations: 57.78 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.1456, allocations: 0 / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1456, allocations: 4 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1456, allocations: 4 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.793e-05/0.1457, allocations: 15.97 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.1458, allocations: 161.7 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.491e-05/0.1459, allocations: 62.48 kB / 0.6852 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.749e-05/0.146, allocations: 12.86 kB / 0.6852 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006458/0.1466, allocations: 0.5907 MB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.1467, allocations: 38.56 kB / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.143e-06/0.1467, allocations: 0 / 0.6859 GB, free: 10.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005216/0.1472, allocations: 303 kB / 0.6861 GB, free: 10.01 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.691e-05/0.1472, allocations: 51.41 kB / 0.6862 GB, free: 9.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/0.1473, allocations: 105.8 kB / 0.6863 GB, free: 9.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1473, allocations: 25.7 kB / 0.6863 GB, free: 9.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.1474, allocations: 88.05 kB / 0.6864 GB, free: 9.715 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.1474, allocations: 27.56 kB / 0.6864 GB, free: 9.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/0.1474, allocations: 29.7 kB / 0.6865 GB, free: 9.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.484e-05/0.1475, allocations: 318.8 kB / 0.6868 GB, free: 9.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.965e-05/0.1476, allocations: 19.98 kB / 0.6868 GB, free: 9.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.159e-05/0.1476, allocations: 61.02 kB / 0.6868 GB, free: 9.234 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.819e-05/0.1477, allocations: 69.28 kB / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1477, allocations: 0 / 0.6869 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001292/0.1479, allocations: 97.53 kB / 0.687 GB, free: 9.047 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1479, allocations: 4 kB / 0.687 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1479, allocations: 0 / 0.687 GB, free: 9.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.1479, allocations: 4 kB / 0.687 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.148, allocations: 32.05 kB / 0.687 GB, free: 9.008 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.148, allocations: 4 kB / 0.687 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.148, allocations: 3.938 kB / 0.687 GB, free: 9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.1481, allocations: 4 kB / 0.687 GB, free: 8.996 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.1481, allocations: 115.2 kB / 0.6872 GB, free: 8.875 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1482, allocations: 11.84 kB / 0.6872 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.537e-05/0.1482, allocations: 7.969 kB / 0.6872 GB, free: 8.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1482, allocations: 3.984 kB / 0.6872 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1482, allocations: 4 kB / 0.6872 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1482, allocations: 3.938 kB / 0.6872 GB, free: 8.848 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/0.1485, allocations: 177.6 kB / 0.6874 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.1485, allocations: 0 / 0.6874 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.469e-05/0.1486, allocations: 16 kB / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1486, allocations: 0 / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1486, allocations: 0 / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1486, allocations: 0 / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1486, allocations: 0 / 0.6874 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.1488, allocations: 179.4 kB / 0.6875 GB, free: 8.418 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.1488, allocations: 85.05 kB / 0.6876 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.342e-05/0.1488, allocations: 0 / 0.6876 GB, free: 8.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.149, allocations: 8 kB / 0.6876 GB, free: 8.309 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.766e-05/0.149, allocations: 4 kB / 0.6876 GB, free: 8.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.285e-06/0.149, allocations: 7.922 kB / 0.6876 GB, free: 8.297 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.889e-05/0.149, allocations: 79.28 kB / 0.6877 GB, free: 8.219 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.149, allocations: 0 / 0.6877 GB, free: 8.219 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002443/0.1493, allocations: 12 kB / 0.6877 GB, free: 8.207 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001186/0.1494, allocations: 103.2 kB / 0.6878 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000115/0.1495, allocations: 43.92 kB / 0.6879 GB, free: 8.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1496, allocations: 3.938 kB / 0.6879 GB, free: 8.047 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.688e-05/0.1496, allocations: 19.92 kB / 0.6879 GB, free: 8.027 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.1499, allocations: 8 kB / 0.6879 GB, free: 8.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005811/0.1504, allocations: 354.6 kB / 0.6882 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.1507, allocations: 0.6807 MB / 0.6889 GB, free: 6.941 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.737e-05/0.1508, allocations: 11.98 kB / 0.6889 GB, free: 6.93 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.38e-05/0.1508, allocations: 11.44 kB / 0.6889 GB, free: 6.918 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1508, allocations: 0 / 0.6889 GB, free: 6.918 MB / 494.1 MB Notification: Performance of Templates: time 0.002646/0.1535, allocations: 0.6135 MB / 0.6895 GB, free: 6.309 MB / 494.1 MB 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)