Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7026/0.7026, allocations: 128.7 MB / 144.5 MB, free: 1.371 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 180.5 kB / 174.2 MB, free: 5.938 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.1 MB / 408.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009424/0.0009423, allocations: 109.8 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 58 kB / 0.558 GB, free: 97.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1272, allocations: 75.47 MB / 0.6317 GB, free: 33.07 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002077/0.1293, allocations: 1.32 MB / 0.633 GB, free: 31.73 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002784/0.1321, allocations: 3.247 MB / 0.6361 GB, free: 28.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.268e-05/0.1322, allocations: 0 / 0.6361 GB, free: 28.47 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 1.78e-05/0.1322, allocations: 0 / 0.6361 GB, free: 28.47 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.842e-05/0.1323, allocations: 7.922 kB / 0.6361 GB, free: 28.46 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1328, allocations: 91.61 kB / 0.6362 GB, free: 28.37 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.881e-05/0.1329, allocations: 39.91 kB / 0.6363 GB, free: 28.33 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.1329, allocations: 0 / 0.6363 GB, free: 28.33 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.133, allocations: 31.84 kB / 0.6363 GB, free: 28.3 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.133, allocations: 11.94 kB / 0.6363 GB, free: 28.29 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.133, allocations: 4 kB / 0.6363 GB, free: 28.29 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/0.1332, allocations: 75.8 kB / 0.6364 GB, free: 28.21 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.527e-05/0.1333, allocations: 11.92 kB / 0.6364 GB, free: 28.2 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1333, allocations: 15.94 kB / 0.6364 GB, free: 28.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1335, allocations: 63.91 kB / 0.6365 GB, free: 28.12 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.1335, allocations: 0 / 0.6365 GB, free: 28.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1335, allocations: 0 / 0.6365 GB, free: 28.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1335, allocations: 0 / 0.6365 GB, free: 28.12 MB / 442.7 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.0003415/0.1338, allocations: 359.8 kB / 0.6368 GB, free: 27.72 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1339, allocations: 8.031 kB / 0.6368 GB, free: 27.71 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.134, allocations: 8.844 kB / 0.6368 GB, free: 27.71 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.227e-05/0.1341, allocations: 164.3 kB / 0.637 GB, free: 27.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1341, allocations: 4.375 kB / 0.637 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.1341, allocations: 8.359 kB / 0.637 GB, free: 27.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.1342, allocations: 57.8 kB / 0.637 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.1343, allocations: 0 / 0.637 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.1343, allocations: 4 kB / 0.6371 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1343, allocations: 0 / 0.6371 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.791e-05/0.1343, allocations: 23.97 kB / 0.6371 GB, free: 27.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.1345, allocations: 169.6 kB / 0.6372 GB, free: 27.19 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.1346, allocations: 54.5 kB / 0.6373 GB, free: 27.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.654e-05/0.1346, allocations: 16.84 kB / 0.6373 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005276/0.1351, allocations: 0.5946 MB / 0.6379 GB, free: 26.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.1351, allocations: 30.56 kB / 0.6379 GB, free: 26.37 MB / 442.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.1352, allocations: 0 / 0.6379 GB, free: 26.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004538/0.1356, allocations: 294.6 kB / 0.6382 GB, free: 26.03 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.215e-05/0.1356, allocations: 67.33 kB / 0.6383 GB, free: 25.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.736e-05/0.1357, allocations: 97.86 kB / 0.6384 GB, free: 25.84 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.1357, allocations: 29.7 kB / 0.6384 GB, free: 25.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.262e-05/0.1357, allocations: 87.98 kB / 0.6385 GB, free: 25.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.293e-05/0.1358, allocations: 27.61 kB / 0.6385 GB, free: 25.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.1358, allocations: 25.72 kB / 0.6385 GB, free: 25.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.387e-05/0.1358, allocations: 318.8 kB / 0.6388 GB, free: 25.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.339e-05/0.1359, allocations: 15.94 kB / 0.6388 GB, free: 25.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.529e-05/0.1359, allocations: 53.14 kB / 0.6389 GB, free: 25.25 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.136, allocations: 77.08 kB / 0.639 GB, free: 25.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.136, allocations: 0 / 0.639 GB, free: 25.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001006/0.1361, allocations: 93.55 kB / 0.639 GB, free: 25.06 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.1361, allocations: 4 kB / 0.6391 GB, free: 25.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1361, allocations: 4 kB / 0.6391 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1361, allocations: 3.938 kB / 0.6391 GB, free: 25.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.1362, allocations: 20.22 kB / 0.6391 GB, free: 25.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.1362, allocations: 7.984 kB / 0.6391 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.637e-05/0.1363, allocations: 7.938 kB / 0.6391 GB, free: 25.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1363, allocations: 4 kB / 0.6391 GB, free: 25.01 MB / 442.7 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 4.657e-05/0.1363, allocations: 125.8 kB / 0.6392 GB, free: 24.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.1364, allocations: 7.906 kB / 0.6392 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.513e-05/0.1364, allocations: 11.95 kB / 0.6392 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.1364, allocations: 0 / 0.6392 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1364, allocations: 4 kB / 0.6392 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.1364, allocations: 3.938 kB / 0.6392 GB, free: 24.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.1366, allocations: 169.7 kB / 0.6394 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1366, allocations: 0 / 0.6394 GB, free: 24.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.751e-05/0.1367, allocations: 16.42 kB / 0.6394 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.1367, allocations: 4 kB / 0.6394 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.1367, allocations: 4 kB / 0.6394 GB, free: 24.62 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1367, allocations: 4 kB / 0.6394 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1367, allocations: 4 kB / 0.6394 GB, free: 24.61 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005956/0.1373, allocations: 1.07 MB / 0.6405 GB, free: 23.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.1374, allocations: 81.14 kB / 0.6406 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.466e-06/0.1374, allocations: 7.938 kB / 0.6406 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.647e-05/0.1375, allocations: 0 / 0.6406 GB, free: 23.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.987e-05/0.1375, allocations: 8 kB / 0.6406 GB, free: 23.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.342e-06/0.1375, allocations: 7.922 kB / 0.6406 GB, free: 23.28 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.807e-05/0.1375, allocations: 79.28 kB / 0.6407 GB, free: 23.2 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1375, allocations: 0 / 0.6407 GB, free: 23.2 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002852/0.1378, allocations: 16 kB / 0.6407 GB, free: 23.19 MB / 442.7 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 9.749e-05/0.1379, allocations: 111.5 kB / 0.6408 GB, free: 23.07 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 8.474e-05/0.138, allocations: 40.02 kB / 0.6408 GB, free: 23.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.138, allocations: 0 / 0.6408 GB, free: 23.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.94e-05/0.1381, allocations: 19.98 kB / 0.6408 GB, free: 23.01 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.1383, allocations: 7.062 kB / 0.6408 GB, free: 23 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1388, allocations: 466.8 kB / 0.6413 GB, free: 22.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.602e-05/0.1389, allocations: 0.6848 MB / 0.642 GB, free: 21.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.139, allocations: 7.984 kB / 0.642 GB, free: 21.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.139, allocations: 15.44 kB / 0.642 GB, free: 21.78 MB / 442.7 MB Notification: Performance of SimCode: time 2.01e-07/0.139, allocations: 0 / 0.642 GB, free: 21.78 MB / 442.7 MB Notification: Performance of Templates: time 0.002223/0.1412, allocations: 0.6573 MB / 0.6426 GB, free: 21.12 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1)