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.00144/0.00144, allocations: 118.3 kB / 17.09 MB, free: 5.969 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.001566/0.001566, allocations: 196.6 kB / 18.02 MB, free: 5.047 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.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.3 MB / 407.2 MB, free: 6.109 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 62.59 kB / 0.5583 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1399, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002411/0.1424, allocations: 1.245 MB / 0.6339 GB, free: 3.199 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003721/0.1462, allocations: 3.26 MB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.296e-05/0.1462, allocations: 0 / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.363e-05/0.1463, allocations: 3.984 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.077e-05/0.1464, allocations: 3.938 kB / 0.6371 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005504/0.1469, allocations: 115.4 kB / 0.6372 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.672e-05/0.147, allocations: 39.84 kB / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.1471, allocations: 4 kB / 0.6373 GB, free: 15.75 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.508e-05/0.1471, allocations: 15.98 kB / 0.6373 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.724e-05/0.1472, allocations: 19.91 kB / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.1472, allocations: 0 / 0.6373 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002271/0.1474, allocations: 83.75 kB / 0.6374 GB, free: 15.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.08e-05/0.1475, allocations: 8 kB / 0.6374 GB, free: 15.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.1475, allocations: 23.91 kB / 0.6374 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.1477, allocations: 67.8 kB / 0.6375 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1477, allocations: 0 / 0.6375 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1477, allocations: 0 / 0.6375 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1477, allocations: 0 / 0.6375 GB, free: 15.54 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.0004186/0.1481, allocations: 347.5 kB / 0.6378 GB, free: 15.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.1482, allocations: 8.031 kB / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.722e-05/0.1483, allocations: 4.938 kB / 0.6378 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.1484, allocations: 172.3 kB / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.1484, allocations: 384 / 0.638 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1485, allocations: 8.375 kB / 0.638 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1486, allocations: 57.73 kB / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.1486, allocations: 0 / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.1486, allocations: 0 / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.1487, allocations: 4 kB / 0.638 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.212e-05/0.1487, allocations: 19.97 kB / 0.6381 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001763/0.1489, allocations: 161.7 kB / 0.6382 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.149, allocations: 58.5 kB / 0.6383 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.1491, allocations: 16.78 kB / 0.6383 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007097/0.1498, allocations: 0.5986 MB / 0.6389 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.1498, allocations: 38.56 kB / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.412e-06/0.1498, allocations: 4 kB / 0.6389 GB, free: 13.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005992/0.1504, allocations: 302.2 kB / 0.6392 GB, free: 13.44 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/0.1505, allocations: 51.41 kB / 0.6393 GB, free: 13.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.179e-05/0.1506, allocations: 97.86 kB / 0.6393 GB, free: 13.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.1506, allocations: 25.7 kB / 0.6394 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.303e-05/0.1506, allocations: 92.05 kB / 0.6395 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.1507, allocations: 27.55 kB / 0.6395 GB, free: 13.12 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.1507, allocations: 25.72 kB / 0.6395 GB, free: 13.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.1508, allocations: 326.8 kB / 0.6398 GB, free: 12.76 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.1509, allocations: 12 kB / 0.6398 GB, free: 12.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.1509, allocations: 53.08 kB / 0.6399 GB, free: 12.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.056e-05/0.151, allocations: 73.08 kB / 0.64 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.151, allocations: 0 / 0.64 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001381/0.1512, allocations: 101.7 kB / 0.6401 GB, free: 12.48 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.1512, allocations: 4 kB / 0.6401 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1512, allocations: 0 / 0.6401 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1512, allocations: 4.125 kB / 0.6401 GB, free: 12.47 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.1513, allocations: 27.92 kB / 0.6401 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.1513, allocations: 8.062 kB / 0.6401 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.899e-05/0.1514, allocations: 3.938 kB / 0.6401 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.1514, allocations: 8 kB / 0.6401 GB, free: 12.43 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.911e-05/0.1515, allocations: 117.3 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.808e-05/0.1515, allocations: 7.844 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.1515, allocations: 11.97 kB / 0.6402 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1515, allocations: 0 / 0.6402 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1516, allocations: 4 kB / 0.6402 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.1516, allocations: 3.938 kB / 0.6402 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.1518, allocations: 173.7 kB / 0.6404 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1518, allocations: 0 / 0.6404 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.1519, allocations: 23.92 kB / 0.6404 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1519, allocations: 0 / 0.6404 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1519, allocations: 4.438 kB / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1519, allocations: 0 / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1519, allocations: 0 / 0.6404 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.1521, allocations: 175.5 kB / 0.6406 GB, free: 11.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1522, allocations: 88.95 kB / 0.6407 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1522, allocations: 48 / 0.6407 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.1523, allocations: 7.984 kB / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1524, allocations: 4 kB / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.1524, allocations: 7.938 kB / 0.6407 GB, free: 11.72 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.1524, allocations: 83.27 kB / 0.6408 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.653e-06/0.1524, allocations: 0 / 0.6408 GB, free: 11.64 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002333/0.1527, allocations: 15.94 kB / 0.6408 GB, free: 11.62 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.0001382/0.1528, allocations: 103.2 kB / 0.6409 GB, free: 11.51 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001118/0.1529, allocations: 43.91 kB / 0.6409 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.1529, allocations: 0 / 0.6409 GB, free: 11.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.187e-05/0.153, allocations: 12 kB / 0.641 GB, free: 11.45 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002935/0.1533, allocations: 13.39 kB / 0.641 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.1539, allocations: 356.3 kB / 0.6413 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.1541, allocations: 0.6884 MB / 0.642 GB, free: 10.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1542, allocations: 11.44 kB / 0.642 GB, free: 10.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1542, allocations: 0 / 0.642 GB, free: 10.34 MB / 494.1 MB Notification: Performance of Templates: time 0.002071/0.1563, allocations: 0.7733 MB / 0.6427 GB, free: 9.559 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)