Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6821/0.6821, allocations: 128.7 MB / 144.5 MB, free: 1.375 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.001062/0.001062, allocations: 180.8 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.364/1.364, allocations: 205 MB / 408.9 MB, free: 9.703 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.000929/0.0009289, allocations: 102 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 58.81 kB / 0.558 GB, free: 97.57 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1308, allocations: 75.47 MB / 0.6317 GB, free: 33.06 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004462/0.1353, allocations: 4.572 MB / 0.6361 GB, free: 28.46 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.1361, allocations: 0.8296 MB / 0.637 GB, free: 27.62 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.1361, allocations: 0 / 0.637 GB, free: 27.62 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.1363, allocations: 23.83 kB / 0.637 GB, free: 27.6 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.515e-05/0.1364, allocations: 35.77 kB / 0.637 GB, free: 27.57 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003414/0.1367, allocations: 143.6 kB / 0.6372 GB, free: 27.43 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001117/0.1369, allocations: 167.4 kB / 0.6373 GB, free: 27.26 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.1369, allocations: 17.12 kB / 0.6373 GB, free: 27.25 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.1371, allocations: 79.69 kB / 0.6374 GB, free: 27.17 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.1372, allocations: 67.73 kB / 0.6375 GB, free: 27.1 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1372, allocations: 8 kB / 0.6375 GB, free: 27.09 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002534/0.1374, allocations: 143.7 kB / 0.6376 GB, free: 26.95 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1375, allocations: 31.91 kB / 0.6376 GB, free: 26.92 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.935e-05/0.1375, allocations: 63.64 kB / 0.6377 GB, free: 26.86 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002538/0.1378, allocations: 231.6 kB / 0.6379 GB, free: 26.63 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1378, allocations: 8 kB / 0.6379 GB, free: 26.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1378, allocations: 4 kB / 0.6379 GB, free: 26.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.1378, allocations: 0 / 0.6379 GB, free: 26.62 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007019/0.1385, allocations: 471 kB / 0.6384 GB, free: 26.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1386, allocations: 11.97 kB / 0.6384 GB, free: 26.1 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.1386, allocations: 28.69 kB / 0.6384 GB, free: 26.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.965e-05/0.1387, allocations: 191.2 kB / 0.6386 GB, free: 25.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.1387, allocations: 8.359 kB / 0.6386 GB, free: 25.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.1388, allocations: 12.38 kB / 0.6386 GB, free: 25.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.139, allocations: 113.8 kB / 0.6387 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.687e-06/0.139, allocations: 0 / 0.6387 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1391, allocations: 8 kB / 0.6387 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.1391, allocations: 0 / 0.6387 GB, free: 25.71 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003511/0.1394, allocations: 151.7 kB / 0.6389 GB, free: 25.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.1402, allocations: 468.5 kB / 0.6393 GB, free: 25.05 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.1405, allocations: 122.5 kB / 0.6395 GB, free: 24.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.1406, allocations: 72.8 kB / 0.6395 GB, free: 24.85 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/0.1417, allocations: 0.9723 MB / 0.6405 GB, free: 23.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.382e-05/0.1417, allocations: 30.56 kB / 0.6405 GB, free: 23.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.1417, allocations: 0 / 0.6405 GB, free: 23.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005789/0.1423, allocations: 213.3 kB / 0.6407 GB, free: 23.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.1424, allocations: 55.41 kB / 0.6408 GB, free: 23.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.1425, allocations: 157.5 kB / 0.6409 GB, free: 23.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1425, allocations: 33.7 kB / 0.6409 GB, free: 23.21 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.206e-05/0.1425, allocations: 112.2 kB / 0.641 GB, free: 23.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.959e-05/0.1426, allocations: 43.34 kB / 0.6411 GB, free: 23.06 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.065e-05/0.1426, allocations: 53.7 kB / 0.6411 GB, free: 23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 4.495e-05/0.1427, allocations: 318.8 kB / 0.6414 GB, free: 22.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.1429, allocations: 79.88 kB / 0.6415 GB, free: 22.6 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.1431, allocations: 115.3 kB / 0.6416 GB, free: 22.48 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003512/0.1434, allocations: 167.3 kB / 0.6418 GB, free: 22.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1435, allocations: 0 / 0.6418 GB, free: 22.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004694/0.1439, allocations: 248.1 kB / 0.642 GB, free: 22.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.144, allocations: 6.188 kB / 0.642 GB, free: 22.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.144, allocations: 3.984 kB / 0.642 GB, free: 22.05 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.144, allocations: 7.938 kB / 0.642 GB, free: 22.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.1442, allocations: 51.91 kB / 0.6421 GB, free: 21.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1442, allocations: 4 kB / 0.6421 GB, free: 21.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.1444, allocations: 35.81 kB / 0.6421 GB, free: 21.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.27e-05/0.1444, allocations: 12 kB / 0.6421 GB, free: 21.94 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 6.248e-05/0.1445, allocations: 125.7 kB / 0.6423 GB, free: 21.8 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.1445, allocations: 19.75 kB / 0.6423 GB, free: 21.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1449, allocations: 183.2 kB / 0.6425 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1449, allocations: 0 / 0.6425 GB, free: 21.61 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.145, allocations: 4 kB / 0.6425 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.145, allocations: 0 / 0.6425 GB, free: 21.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.1451, allocations: 205.6 kB / 0.6427 GB, free: 21.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.1451, allocations: 0 / 0.6427 GB, free: 21.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.1453, allocations: 35.91 kB / 0.6427 GB, free: 21.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1453, allocations: 4 kB / 0.6427 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.1453, allocations: 3.938 kB / 0.6427 GB, free: 21.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.1453, allocations: 4 kB / 0.6427 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1453, allocations: 4 kB / 0.6427 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.1459, allocations: 0.8798 MB / 0.6436 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.146, allocations: 96.94 kB / 0.6437 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.146, allocations: 4 kB / 0.6437 GB, free: 20.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.1462, allocations: 11.98 kB / 0.6437 GB, free: 20.23 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.1462, allocations: 11.98 kB / 0.6437 GB, free: 20.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.1462, allocations: 4 kB / 0.6437 GB, free: 20.22 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.885e-05/0.1463, allocations: 116.9 kB / 0.6438 GB, free: 20.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1463, allocations: 0 / 0.6438 GB, free: 20.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003877/0.1467, allocations: 64.36 kB / 0.6439 GB, free: 20.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0002258/0.1469, allocations: 163.1 kB / 0.644 GB, free: 19.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0004243/0.1473, allocations: 175.8 kB / 0.6442 GB, free: 19.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1474, allocations: 3.938 kB / 0.6442 GB, free: 19.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001644/0.1475, allocations: 63.95 kB / 0.6442 GB, free: 19.64 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1479, allocations: 31.95 kB / 0.6443 GB, free: 19.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.1483, allocations: 417.9 kB / 0.6447 GB, free: 19.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000103/0.1484, allocations: 0.7048 MB / 0.6454 GB, free: 18.43 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.1485, allocations: 22.16 kB / 0.6454 GB, free: 18.41 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.474e-05/0.1486, allocations: 15.44 kB / 0.6454 GB, free: 18.39 MB / 442.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1486, allocations: 0 / 0.6454 GB, free: 18.39 MB / 442.7 MB Notification: Performance of Templates: time 0.004487/0.1531, allocations: 2.66 MB / 0.648 GB, free: 15.77 MB / 442.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1)