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.001541/0.001541, allocations: 121.7 kB / 17.09 MB, free: 6 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.002319/0.002319, allocations: 192.7 kB / 18.02 MB, free: 5.082 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.386/1.386, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7747/0.7747, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 61.27 kB / 0.5583 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1404, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01764/0.1581, allocations: 17.44 MB / 0.6498 GB, free: 2.895 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006937/0.1651, allocations: 4.921 MB / 0.6546 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006663/0.1658, allocations: 15.94 kB / 0.6546 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00103/0.1668, allocations: 246.4 kB / 0.6548 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001895/0.1688, allocations: 0.618 MB / 0.6554 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.1709, allocations: 0.7209 MB / 0.6561 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001511/0.1724, allocations: 0.9663 MB / 0.6571 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006579/0.1731, allocations: 336.9 kB / 0.6574 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.174, allocations: 426.3 kB / 0.6578 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006007/0.1746, allocations: 310.6 kB / 0.6581 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.922e-05/0.1747, allocations: 32 kB / 0.6581 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.1761, allocations: 0.7214 MB / 0.6588 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001765/0.1763, allocations: 139.5 kB / 0.659 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003297/0.1767, allocations: 246.7 kB / 0.6592 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001701/0.1784, allocations: 0.8762 MB / 0.6601 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1784, allocations: 0 / 0.6601 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.1784, allocations: 0 / 0.6601 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.262e-05/0.1784, allocations: 0 / 0.6601 GB, free: 8.316 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.001532/0.18, allocations: 0.8719 MB / 0.6609 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.18, allocations: 16.03 kB / 0.6609 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.1802, allocations: 64.2 kB / 0.661 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.181, allocations: 461.6 kB / 0.6614 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.985e-05/0.1811, allocations: 28.5 kB / 0.6615 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.053e-05/0.1811, allocations: 28 kB / 0.6615 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.1817, allocations: 290.2 kB / 0.6618 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.1817, allocations: 0 / 0.6618 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.1817, allocations: 8 kB / 0.6618 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.1817, allocations: 7.984 kB / 0.6618 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1822, allocations: 190.1 kB / 0.662 GB, free: 6.27 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.001967/0.1841, allocations: 1.476 MB / 0.6634 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003313/0.1845, allocations: 158.7 kB / 0.6635 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001774/0.1847, allocations: 92.73 kB / 0.6636 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/0.1863, allocations: 1.272 MB / 0.6649 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.1864, allocations: 38.5 kB / 0.6649 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.106e-06/0.1864, allocations: 0 / 0.6649 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0007388/0.1871, allocations: 247.7 kB / 0.6652 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1872, allocations: 59.39 kB / 0.6652 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.188, allocations: 0.5886 MB / 0.6658 GB, free: 2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.656e-05/0.1881, allocations: 29.64 kB / 0.6658 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.1883, allocations: 268.1 kB / 0.6661 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.1883, allocations: 51.2 kB / 0.6661 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001136/0.1885, allocations: 69.97 kB / 0.6662 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.1886, allocations: 358.8 kB / 0.6665 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001923/0.1888, allocations: 85.94 kB / 0.6666 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.1891, allocations: 210.7 kB / 0.6668 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004094/0.1896, allocations: 235.1 kB / 0.667 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.1896, allocations: 0 / 0.667 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006028/0.1902, allocations: 319.4 kB / 0.6673 GB, free: 300 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1902, allocations: 15.92 kB / 0.6674 GB, free: 284 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1902, allocations: 4 kB / 0.6674 GB, free: 280 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1903, allocations: 4 kB / 0.6674 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.1905, allocations: 63.91 kB / 0.6674 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.1905, allocations: 4 kB / 0.6674 GB, free: 208 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1909, allocations: 47.61 kB / 0.6675 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.961e-05/0.1909, allocations: 15.98 kB / 0.6675 GB, free: 144 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004159/0.1913, allocations: 220.7 kB / 0.6677 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002969/0.1917, allocations: 201.6 kB / 0.6679 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003998/0.1921, allocations: 229.2 kB / 0.6681 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.384e-06/0.1921, allocations: 0 / 0.6681 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006012/0.1927, allocations: 311.1 kB / 0.6684 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.1927, allocations: 6.031 kB / 0.6684 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1927, allocations: 7.938 kB / 0.6684 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.243e-06/0.1927, allocations: 4 kB / 0.6684 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.193, allocations: 63.91 kB / 0.6685 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.193, allocations: 7.938 kB / 0.6685 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003541/0.1933, allocations: 35.81 kB / 0.6685 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1934, allocations: 12 kB / 0.6685 GB, free: 14.98 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.0001471/0.1935, allocations: 204.2 kB / 0.6687 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.784e-05/0.1936, allocations: 55.28 kB / 0.6688 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005655/0.1942, allocations: 257.8 kB / 0.669 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1942, allocations: 4 kB / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1942, allocations: 0 / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1943, allocations: 0 / 0.669 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1955, allocations: 0.7432 MB / 0.6698 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.1955, allocations: 0 / 0.6698 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1956, allocations: 31.98 kB / 0.6698 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1957, allocations: 0 / 0.6698 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.1957, allocations: 8.109 kB / 0.6698 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.1957, allocations: 11.98 kB / 0.6698 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.1957, allocations: 0 / 0.6698 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005/0.1962, allocations: 352.7 kB / 0.6701 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.1964, allocations: 148.4 kB / 0.6703 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.806e-05/0.1965, allocations: 8.188 kB / 0.6703 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.1967, allocations: 11.98 kB / 0.6703 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.95e-05/0.1968, allocations: 23.91 kB / 0.6703 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.1968, allocations: 4 kB / 0.6703 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004814/0.1973, allocations: 426.8 kB / 0.6707 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1973, allocations: 4 kB / 0.6707 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007918/0.1981, allocations: 223.7 kB / 0.671 GB, free: 12.37 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.001216/0.1993, allocations: 0.4908 MB / 0.6714 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008099/0.2001, allocations: 320.2 kB / 0.6717 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2001, allocations: 4.25 kB / 0.6717 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.2003, allocations: 83.89 kB / 0.6718 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.2017, allocations: 248.5 kB / 0.6721 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.2033, allocations: 0.8419 MB / 0.6729 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006767/0.204, allocations: 0.8428 MB / 0.6737 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.2041, allocations: 47.42 kB / 0.6737 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of SimCode: time 6.11e-07/0.2041, allocations: 0 / 0.6737 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of Templates: time 0.01723/0.2213, allocations: 8.559 MB / 0.6821 GB, free: 1.078 MB / 0.5137 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)