Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.6845/0.6845, allocations: 128.7 MB / 144.5 MB, free: 1.359 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.001179/0.001179, allocations: 187.9 kB / 174.2 MB, free: 5.941 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.312/1.312, allocations: 205 MB / 408.9 MB, free: 9.738 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.001058/0.001058, allocations: 94.33 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 55.56 kB / 0.558 GB, free: 97.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1131, allocations: 75.48 MB / 0.6317 GB, free: 33 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01441/0.1276, allocations: 20.67 MB / 0.6519 GB, free: 12.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007441/0.135, allocations: 7.404 MB / 0.6591 GB, free: 4.836 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.1356, allocations: 15.88 kB / 0.6591 GB, free: 4.82 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.1363, allocations: 222.9 kB / 0.6593 GB, free: 4.602 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001137/0.1375, allocations: 0.5521 MB / 0.6599 GB, free: 4.047 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001208/0.1387, allocations: 0.5547 MB / 0.6604 GB, free: 3.5 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00105/0.1398, allocations: 1.365 MB / 0.6617 GB, free: 2.129 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.1402, allocations: 285.9 kB / 0.662 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.1408, allocations: 390.3 kB / 0.6624 GB, free: 1.461 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.1413, allocations: 318.6 kB / 0.6627 GB, free: 1.148 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 6.283e-05/0.1413, allocations: 16 kB / 0.6627 GB, free: 1.133 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008545/0.1422, allocations: 0.5926 MB / 0.6633 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.509e-05/0.1423, allocations: 79.67 kB / 0.6634 GB, free: 472 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1425, allocations: 206.8 kB / 0.6636 GB, free: 264 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008893/0.1434, allocations: 0.7323 MB / 0.6643 GB, free: 15.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1434, allocations: 3.844 kB / 0.6643 GB, free: 15.52 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1434, allocations: 3.984 kB / 0.6643 GB, free: 15.52 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.1434, allocations: 0 / 0.6643 GB, free: 15.52 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001197/0.1446, allocations: 0.8059 MB / 0.6651 GB, free: 14.66 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1446, allocations: 8.031 kB / 0.6651 GB, free: 14.65 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.1448, allocations: 52.31 kB / 0.6651 GB, free: 14.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.1453, allocations: 409.1 kB / 0.6655 GB, free: 14.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.128e-05/0.1453, allocations: 24.42 kB / 0.6655 GB, free: 14.14 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.1454, allocations: 24 kB / 0.6656 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.1464, allocations: 307.1 kB / 0.6659 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1464, allocations: 3.984 kB / 0.6659 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.1464, allocations: 8 kB / 0.6659 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1464, allocations: 4 kB / 0.6659 GB, free: 13.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009092/0.1473, allocations: 253.5 kB / 0.6661 GB, free: 13.54 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.1487, allocations: 0.9219 MB / 0.667 GB, free: 12.54 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.1495, allocations: 186.4 kB / 0.6672 GB, free: 12.35 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1497, allocations: 44.95 kB / 0.6672 GB, free: 12.3 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002338/0.1499, allocations: 336.4 kB / 0.6676 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.1499, allocations: 30.56 kB / 0.6676 GB, free: 11.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.1499, allocations: 0 / 0.6676 GB, free: 11.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=9): time 0.001619/0.1516, allocations: 380.8 kB / 0.6679 GB, free: 11.48 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1516, allocations: 51.41 kB / 0.668 GB, free: 11.42 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004505/0.1521, allocations: 469.9 kB / 0.6684 GB, free: 10.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.1521, allocations: 29.7 kB / 0.6685 GB, free: 10.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.1523, allocations: 236 kB / 0.6687 GB, free: 10.68 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.1523, allocations: 31.55 kB / 0.6687 GB, free: 10.65 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.613e-05/0.1524, allocations: 57.69 kB / 0.6688 GB, free: 10.59 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.1525, allocations: 350.8 kB / 0.6691 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.1528, allocations: 96.78 kB / 0.6692 GB, free: 10.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.1532, allocations: 171.6 kB / 0.6694 GB, free: 9.941 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005276/0.1537, allocations: 192.2 kB / 0.6696 GB, free: 9.746 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1537, allocations: 0 / 0.6696 GB, free: 9.746 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006987/0.1544, allocations: 296.9 kB / 0.6698 GB, free: 9.449 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.1544, allocations: 6.656 kB / 0.6698 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1544, allocations: 0 / 0.6698 GB, free: 9.445 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1545, allocations: 8.312 kB / 0.6699 GB, free: 9.438 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.1548, allocations: 55.95 kB / 0.6699 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.1548, allocations: 4 kB / 0.6699 GB, free: 9.379 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003727/0.1552, allocations: 55.73 kB / 0.67 GB, free: 9.324 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.1552, allocations: 15.94 kB / 0.67 GB, free: 9.309 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000232/0.1554, allocations: 176.1 kB / 0.6701 GB, free: 9.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001949/0.1556, allocations: 147.4 kB / 0.6703 GB, free: 8.957 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002618/0.1559, allocations: 144.2 kB / 0.6704 GB, free: 8.801 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.575e-06/0.1559, allocations: 7.938 kB / 0.6704 GB, free: 8.793 MB / 458.7 MB Notification: Performance of matching and sorting (n=21) (initialization_lambda0): time 0.000405/0.1563, allocations: 229 kB / 0.6706 GB, free: 8.562 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/0.1564, allocations: 4 kB / 0.6707 GB, free: 8.559 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.863e-06/0.1564, allocations: 7.875 kB / 0.6707 GB, free: 8.551 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.108e-06/0.1564, allocations: 4 kB / 0.6707 GB, free: 8.547 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.1565, allocations: 39.98 kB / 0.6707 GB, free: 8.508 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1566, allocations: 8.109 kB / 0.6707 GB, free: 8.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.1569, allocations: 35.91 kB / 0.6707 GB, free: 8.465 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1569, allocations: 4 kB / 0.6707 GB, free: 8.461 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 21 * 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 0.0001025/0.157, allocations: 192.1 kB / 0.6709 GB, free: 8.266 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.887e-05/0.1571, allocations: 43.44 kB / 0.671 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.1578, allocations: 272.2 kB / 0.6712 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.1578, allocations: 0 / 0.6712 GB, free: 7.953 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1578, allocations: 3.938 kB / 0.6712 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.1578, allocations: 0 / 0.6712 GB, free: 7.949 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.1582, allocations: 369.3 kB / 0.6716 GB, free: 7.539 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1582, allocations: 4 kB / 0.6716 GB, free: 7.535 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.1584, allocations: 31.97 kB / 0.6716 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.1584, allocations: 0 / 0.6716 GB, free: 7.504 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.1584, allocations: 3.984 kB / 0.6716 GB, free: 7.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1584, allocations: 4 kB / 0.6716 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1584, allocations: 0 / 0.6716 GB, free: 7.496 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.1596, allocations: 1.055 MB / 0.6727 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.231e-05/0.1597, allocations: 120.5 kB / 0.6728 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.1598, allocations: 0 / 0.6728 GB, free: 6.246 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/0.1601, allocations: 43.86 kB / 0.6728 GB, free: 6.203 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.755e-05/0.1602, allocations: 11.92 kB / 0.6728 GB, free: 6.191 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.5e-05/0.1602, allocations: 8 kB / 0.6728 GB, free: 6.184 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0003016/0.1605, allocations: 323.1 kB / 0.6731 GB, free: 5.871 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1605, allocations: 0 / 0.6731 GB, free: 5.871 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0007734/0.1613, allocations: 191.7 kB / 0.6733 GB, free: 5.684 MB / 458.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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0009549/0.1622, allocations: 485.2 kB / 0.6738 GB, free: 5.344 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000821/0.1631, allocations: 287.6 kB / 0.6741 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.1631, allocations: 0 / 0.6741 GB, free: 5.062 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002771/0.1634, allocations: 95.92 kB / 0.6742 GB, free: 4.969 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.1646, allocations: 224 kB / 0.6744 GB, free: 4.758 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006258/0.1709, allocations: 1.451 MB / 0.6758 GB, free: 3.262 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.1712, allocations: 0.8155 MB / 0.6766 GB, free: 2.418 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003357/0.1716, allocations: 87.19 kB / 0.6767 GB, free: 2.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.1717, allocations: 39.42 kB / 0.6767 GB, free: 2.297 MB / 458.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1717, allocations: 3.938 kB / 0.6767 GB, free: 2.293 MB / 458.7 MB Notification: Performance of Templates: time 0.01423/0.1859, allocations: 9.074 MB / 0.6856 GB, free: 9.332 MB / 474.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)