Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 108.2 kB / 16.41 MB, free: 6.504 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.001256/0.001256, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6788/0.6788, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 61.53 kB / 0.5577 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1356, allocations: 76.17 MB / 0.6321 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01826/0.1539, allocations: 17.45 MB / 0.6491 GB, free: 2.918 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006783/0.1608, allocations: 4.917 MB / 0.6539 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006718/0.1615, allocations: 23.88 kB / 0.6539 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008552/0.1624, allocations: 242.4 kB / 0.6542 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.164, allocations: 0.614 MB / 0.6548 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001915/0.166, allocations: 0.7255 MB / 0.6555 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001208/0.1672, allocations: 0.9702 MB / 0.6564 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004455/0.1676, allocations: 332.9 kB / 0.6567 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006141/0.1683, allocations: 426.2 kB / 0.6571 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003796/0.1687, allocations: 314.6 kB / 0.6574 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.1687, allocations: 32 kB / 0.6575 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.1699, allocations: 0.7253 MB / 0.6582 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.17, allocations: 127.6 kB / 0.6583 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1702, allocations: 250.6 kB / 0.6585 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1712, allocations: 0.8762 MB / 0.6594 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1713, allocations: 0 / 0.6594 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1713, allocations: 0 / 0.6594 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.1713, allocations: 0 / 0.6594 GB, free: 8.34 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001176/0.1725, allocations: 0.8835 MB / 0.6603 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.1725, allocations: 12.03 kB / 0.6603 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1727, allocations: 56.28 kB / 0.6603 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006238/0.1733, allocations: 469.6 kB / 0.6608 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.694e-05/0.1733, allocations: 28.5 kB / 0.6608 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.1734, allocations: 31.98 kB / 0.6608 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004761/0.1739, allocations: 282.2 kB / 0.6611 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1739, allocations: 0 / 0.6611 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.1739, allocations: 12 kB / 0.6611 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.1739, allocations: 4 kB / 0.6611 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003962/0.1743, allocations: 194 kB / 0.6613 GB, free: 6.285 MB / 0.4981 GB 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.001694/0.176, allocations: 1.472 MB / 0.6627 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.1764, allocations: 158.7 kB / 0.6629 GB, free: 4.539 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.1765, allocations: 84.81 kB / 0.663 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001419/0.178, allocations: 1.272 MB / 0.6642 GB, free: 2.988 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.736e-05/0.178, allocations: 42.5 kB / 0.6643 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.262e-06/0.178, allocations: 0 / 0.6643 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005879/0.1786, allocations: 249.1 kB / 0.6645 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.1787, allocations: 55.41 kB / 0.6645 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.1792, allocations: 0.5847 MB / 0.6651 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.124e-05/0.1793, allocations: 29.7 kB / 0.6651 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1795, allocations: 268.1 kB / 0.6654 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.1795, allocations: 59.12 kB / 0.6655 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/0.1796, allocations: 69.98 kB / 0.6655 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.1797, allocations: 362.8 kB / 0.6659 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1799, allocations: 77.94 kB / 0.6659 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/0.1802, allocations: 210.7 kB / 0.6661 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.1806, allocations: 235.1 kB / 0.6664 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1806, allocations: 4 kB / 0.6664 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005531/0.1812, allocations: 320.6 kB / 0.6667 GB, free: 316 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.1812, allocations: 9.656 kB / 0.6667 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1812, allocations: 4 kB / 0.6667 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.1812, allocations: 8 kB / 0.6667 GB, free: 296 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1815, allocations: 63.91 kB / 0.6668 GB, free: 232 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.1815, allocations: 4.25 kB / 0.6668 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.1818, allocations: 47.66 kB / 0.6668 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.71e-05/0.1818, allocations: 16 kB / 0.6668 GB, free: 164 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002835/0.1821, allocations: 212.7 kB / 0.667 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002671/0.1824, allocations: 217.5 kB / 0.6672 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000357/0.1828, allocations: 220.5 kB / 0.6674 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.583e-06/0.1828, allocations: 0 / 0.6674 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005263/0.1833, allocations: 312.7 kB / 0.6677 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.1833, allocations: 4 kB / 0.6677 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.1833, allocations: 7.938 kB / 0.6678 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.978e-06/0.1833, allocations: 4 kB / 0.6678 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.1836, allocations: 63.91 kB / 0.6678 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.1836, allocations: 7.984 kB / 0.6678 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003179/0.1839, allocations: 36.08 kB / 0.6679 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.61e-05/0.1839, allocations: 19.98 kB / 0.6679 GB, free: 14.99 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0001053/0.184, allocations: 192.2 kB / 0.6681 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.1841, allocations: 55.28 kB / 0.6681 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005142/0.1846, allocations: 271.3 kB / 0.6684 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.1847, allocations: 0 / 0.6684 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1847, allocations: 0 / 0.6684 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1847, allocations: 0 / 0.6684 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.1856, allocations: 0.7346 MB / 0.6691 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.1856, allocations: 4.031 kB / 0.6691 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.1858, allocations: 43.84 kB / 0.6691 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1858, allocations: 4 kB / 0.6691 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1858, allocations: 0 / 0.6691 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1858, allocations: 4 kB / 0.6691 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.1858, allocations: 96 / 0.6691 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.1862, allocations: 358.1 kB / 0.6695 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.1864, allocations: 148.6 kB / 0.6696 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.1864, allocations: 8 kB / 0.6696 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001871/0.1866, allocations: 7.984 kB / 0.6696 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.1867, allocations: 27.91 kB / 0.6697 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1867, allocations: 4 kB / 0.6697 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00042/0.1871, allocations: 422.8 kB / 0.6701 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1871, allocations: 0 / 0.6701 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006389/0.1878, allocations: 227.7 kB / 0.6703 GB, free: 12.39 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 15 * 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.001005/0.1888, allocations: 0.4899 MB / 0.6708 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006728/0.1895, allocations: 320.4 kB / 0.6711 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1895, allocations: 0 / 0.6711 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.1897, allocations: 91.81 kB / 0.6712 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/0.1908, allocations: 253.5 kB / 0.6714 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.1919, allocations: 0.8013 MB / 0.6722 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.1923, allocations: 0.8506 MB / 0.673 GB, free: 9.668 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002661/0.1926, allocations: 104.6 kB / 0.6731 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.1927, allocations: 35.44 kB / 0.6732 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1927, allocations: 0 / 0.6732 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of Templates: time 0.01664/0.2093, allocations: 10.24 MB / 0.6832 GB, free: 15.43 MB / 0.5294 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)