Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001234, allocations: 108.2 kB / 16.4 MB, free: 6.441 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.001337/0.001337, allocations: 193.2 kB / 17.34 MB, free: 5.707 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7411/0.7411, allocations: 115.3 MB / 406.5 MB, free: 6.113 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 68.81 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1741, allocations: 76.17 MB / 0.632 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002509/0.1767, allocations: 1.253 MB / 0.6333 GB, free: 3.145 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004429/0.1811, allocations: 3.26 MB / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.1812, allocations: 0 / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.524e-05/0.1812, allocations: 0 / 0.6365 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.1813, allocations: 7.922 kB / 0.6365 GB, free: 15.85 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/0.1819, allocations: 111.5 kB / 0.6366 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.106e-05/0.1819, allocations: 35.8 kB / 0.6366 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.182, allocations: 4 kB / 0.6366 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.537e-05/0.182, allocations: 19.97 kB / 0.6366 GB, free: 15.68 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.757e-05/0.1821, allocations: 19.92 kB / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.187e-06/0.1821, allocations: 0 / 0.6366 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.1824, allocations: 83.8 kB / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.466e-05/0.1824, allocations: 0 / 0.6367 GB, free: 15.58 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.806e-05/0.1824, allocations: 27.86 kB / 0.6367 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001979/0.1826, allocations: 67.8 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1827, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1827, allocations: 0 / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.1827, allocations: 0 / 0.6368 GB, free: 15.49 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.0004974/0.1832, allocations: 347.5 kB / 0.6371 GB, free: 15.1 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1832, allocations: 8.031 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.1833, allocations: 4.938 kB / 0.6372 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001748/0.1835, allocations: 172.3 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.1835, allocations: 4.375 kB / 0.6373 GB, free: 14.88 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.1836, allocations: 8.375 kB / 0.6373 GB, free: 14.87 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1838, allocations: 57.78 kB / 0.6374 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1838, allocations: 0 / 0.6374 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1838, allocations: 7.938 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1838, allocations: 4 kB / 0.6374 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.279e-05/0.1839, allocations: 11.98 kB / 0.6374 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002082/0.1841, allocations: 161.7 kB / 0.6376 GB, free: 14.58 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.1842, allocations: 62.53 kB / 0.6376 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.183e-05/0.1842, allocations: 16.8 kB / 0.6376 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007755/0.185, allocations: 0.5986 MB / 0.6382 GB, free: 13.78 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1851, allocations: 42.56 kB / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.1851, allocations: 0 / 0.6383 GB, free: 13.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006168/0.1857, allocations: 298.2 kB / 0.6385 GB, free: 13.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.1857, allocations: 51.41 kB / 0.6386 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.013e-05/0.1858, allocations: 101.8 kB / 0.6387 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.1858, allocations: 29.7 kB / 0.6387 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.1859, allocations: 88.05 kB / 0.6388 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.255e-05/0.1859, allocations: 27.56 kB / 0.6388 GB, free: 13.06 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.128e-05/0.186, allocations: 29.7 kB / 0.6389 GB, free: 13.03 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.1861, allocations: 318.8 kB / 0.6392 GB, free: 12.71 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.109e-05/0.1861, allocations: 15.98 kB / 0.6392 GB, free: 12.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.614e-05/0.1862, allocations: 53.14 kB / 0.6392 GB, free: 12.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.855e-05/0.1863, allocations: 73.03 kB / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1863, allocations: 0 / 0.6393 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001717/0.1865, allocations: 93.55 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1865, allocations: 4 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1865, allocations: 0 / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.1865, allocations: 4.438 kB / 0.6394 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.1866, allocations: 24.11 kB / 0.6394 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.1866, allocations: 7.938 kB / 0.6394 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.148e-05/0.1867, allocations: 11.94 kB / 0.6394 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.1867, allocations: 7.938 kB / 0.6394 GB, free: 12.38 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 8.421e-05/0.1868, allocations: 117.3 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1868, allocations: 7.906 kB / 0.6396 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.1868, allocations: 11.95 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1869, allocations: 0 / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1869, allocations: 0 / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1869, allocations: 7.938 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.1871, allocations: 173.7 kB / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1871, allocations: 0 / 0.6398 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.507e-05/0.1872, allocations: 20 kB / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1872, allocations: 0 / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1872, allocations: 0 / 0.6398 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1872, allocations: 3.938 kB / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1872, allocations: 288 / 0.6398 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1874, allocations: 175.5 kB / 0.6399 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.1875, allocations: 89.12 kB / 0.64 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.1875, allocations: 0 / 0.64 GB, free: 11.69 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.1876, allocations: 8 kB / 0.64 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.732e-05/0.1877, allocations: 7.984 kB / 0.64 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1877, allocations: 3.938 kB / 0.64 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.611e-05/0.1877, allocations: 79.28 kB / 0.6401 GB, free: 11.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1877, allocations: 0 / 0.6401 GB, free: 11.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.188, allocations: 12 kB / 0.6401 GB, free: 11.58 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.0001708/0.1882, allocations: 111.1 kB / 0.6402 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001114/0.1883, allocations: 39.92 kB / 0.6403 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1883, allocations: 0 / 0.6403 GB, free: 11.42 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.721e-05/0.1883, allocations: 19.98 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.1886, allocations: 4 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1893, allocations: 330.4 kB / 0.6406 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1896, allocations: 0.6846 MB / 0.6413 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.802e-05/0.1896, allocations: 7.984 kB / 0.6413 GB, free: 10.33 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.1897, allocations: 15.44 kB / 0.6413 GB, free: 10.32 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1897, allocations: 0 / 0.6413 GB, free: 10.32 MB / 494.1 MB Notification: Performance of Templates: time 0.003072/0.1928, allocations: 0.6204 MB / 0.6419 GB, free: 9.699 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)