Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 97.2 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 176.5 kB / 16.57 MB, free: 6.398 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.442/1.442, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6918/0.6918, allocations: 113.8 MB / 405.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003353/0.0003354, allocations: 8 kB / 493.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1747, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01889/0.1937, allocations: 13.08 MB / 0.5696 GB, free: 14.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006989/0.2007, allocations: 3.747 MB / 0.5733 GB, free: 10.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005951/0.2013, allocations: 15.88 kB / 0.5733 GB, free: 10.74 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.2024, allocations: 242.8 kB / 0.5735 GB, free: 10.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00187/0.2043, allocations: 0.6266 MB / 0.5741 GB, free: 9.879 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002321/0.2066, allocations: 0.7685 MB / 0.5749 GB, free: 9.125 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001269/0.2079, allocations: 0.6443 MB / 0.5755 GB, free: 8.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005462/0.2085, allocations: 254.5 kB / 0.5758 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007063/0.2092, allocations: 354.8 kB / 0.5761 GB, free: 7.879 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004232/0.2096, allocations: 227 kB / 0.5763 GB, free: 7.656 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.2097, allocations: 16 kB / 0.5763 GB, free: 7.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008967/0.2106, allocations: 395.4 kB / 0.5767 GB, free: 7.254 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.964e-05/0.2107, allocations: 79.61 kB / 0.5768 GB, free: 7.176 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.936e-05/0.2108, allocations: 105.5 kB / 0.5769 GB, free: 7.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.2114, allocations: 487.1 kB / 0.5773 GB, free: 6.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.2114, allocations: 0 / 0.5773 GB, free: 6.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2114, allocations: 4 kB / 0.5773 GB, free: 6.586 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.301e-06/0.2114, allocations: 0 / 0.5773 GB, free: 6.586 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001141/0.2125, allocations: 0.7356 MB / 0.5781 GB, free: 5.801 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.2126, allocations: 8.031 kB / 0.5781 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.413e-05/0.2127, allocations: 59.34 kB / 0.5781 GB, free: 5.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005701/0.2133, allocations: 396.9 kB / 0.5785 GB, free: 5.309 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.2133, allocations: 24.42 kB / 0.5785 GB, free: 5.285 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.079e-05/0.2134, allocations: 28 kB / 0.5786 GB, free: 5.258 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.2138, allocations: 219.2 kB / 0.5788 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2139, allocations: 0 / 0.5788 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.064e-05/0.2139, allocations: 8 kB / 0.5788 GB, free: 5.031 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.2139, allocations: 8 kB / 0.5788 GB, free: 5.023 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/0.2143, allocations: 173.6 kB / 0.5789 GB, free: 4.852 MB / 446.1 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.001521/0.2158, allocations: 0.9496 MB / 0.5799 GB, free: 3.828 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.2161, allocations: 138.6 kB / 0.58 GB, free: 3.684 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003412/0.2165, allocations: 332.5 kB / 0.5803 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.2165, allocations: 38.55 kB / 0.5804 GB, free: 3.238 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.2165, allocations: 0 / 0.5804 GB, free: 3.238 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006019/0.2171, allocations: 259.6 kB / 0.5806 GB, free: 2.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.2172, allocations: 55.41 kB / 0.5807 GB, free: 2.914 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.2178, allocations: 477.9 kB / 0.5811 GB, free: 2.438 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.2178, allocations: 29.7 kB / 0.5811 GB, free: 2.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.218, allocations: 232.6 kB / 0.5814 GB, free: 2.172 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.2181, allocations: 43.36 kB / 0.5814 GB, free: 2.129 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.2181, allocations: 4 kB / 0.5814 GB, free: 2.125 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.2183, allocations: 354.8 kB / 0.5818 GB, free: 1.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.2184, allocations: 67.95 kB / 0.5818 GB, free: 1.703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.2187, allocations: 155.2 kB / 0.582 GB, free: 1.527 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.2189, allocations: 95.8 kB / 0.5821 GB, free: 1.434 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2189, allocations: 4 kB / 0.5821 GB, free: 1.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004828/0.2194, allocations: 255.2 kB / 0.5823 GB, free: 1.176 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001382/0.2195, allocations: 275 kB / 0.5826 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.2195, allocations: 8 kB / 0.5826 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.2196, allocations: 0 / 0.5826 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2198, allocations: 51.91 kB / 0.5826 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.2198, allocations: 0 / 0.5826 GB, free: 0.8281 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/0.2201, allocations: 55.59 kB / 0.5827 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.2202, allocations: 8 kB / 0.5827 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.2202, allocations: 4 kB / 0.5827 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004759/0.2207, allocations: 187.8 kB / 0.5829 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.853e-06/0.2207, allocations: 0 / 0.5829 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.2207, allocations: 4 kB / 0.5829 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.2209, allocations: 51.91 kB / 0.5829 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-06/0.2209, allocations: 0 / 0.5829 GB, free: 0.5234 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.2212, allocations: 51.67 kB / 0.583 GB, free: 484 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.944e-05/0.2212, allocations: 8 kB / 0.583 GB, free: 476 kB / 446.1 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 (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002011/0.2214, allocations: 241 kB / 0.5832 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.26e-05/0.2215, allocations: 39.53 kB / 0.5832 GB, free: 184 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3221/0.5437, allocations: 255.5 kB / 0.5835 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/0.5437, allocations: 3.344 kB / 0.5835 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5437, allocations: 0 / 0.5835 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.5438, allocations: 8.641 kB / 0.5835 GB, free: 34.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001396/0.5452, allocations: 0.7065 MB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5452, allocations: 4.422 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.5453, allocations: 34.66 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.679e-06/0.5454, allocations: 3.406 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5454, allocations: 7.625 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.5454, allocations: 1.5 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.5454, allocations: 2.734 kB / 0.5842 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005426/0.5459, allocations: 405.5 kB / 0.5846 GB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001615/0.5461, allocations: 142 kB / 0.5848 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.5462, allocations: 6.016 kB / 0.5848 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002378/0.5464, allocations: 31.03 kB / 0.5848 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.233e-05/0.5465, allocations: 13.44 kB / 0.5848 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.5465, allocations: 11.48 kB / 0.5848 GB, free: 33.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004263/0.5469, allocations: 330.2 kB / 0.5851 GB, free: 33.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5469, allocations: 0 / 0.5851 GB, free: 33.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007434/0.5477, allocations: 196 kB / 0.5853 GB, free: 33.31 MB / 446.1 MB 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00107/0.5488, allocations: 490.1 kB / 0.5858 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007823/0.5496, allocations: 284.8 kB / 0.5861 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.5496, allocations: 0 / 0.5861 GB, free: 33.19 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.5498, allocations: 93.53 kB / 0.5862 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.5511, allocations: 217.6 kB / 0.5864 GB, free: 33.17 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.5526, allocations: 0.8354 MB / 0.5872 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004172/0.553, allocations: 0.8414 MB / 0.588 GB, free: 32.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004413/0.5535, allocations: 92.42 kB / 0.5881 GB, free: 32 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.5536, allocations: 41.12 kB / 0.5881 GB, free: 32 MB / 446.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5536, allocations: 0 / 0.5881 GB, free: 32 MB / 446.1 MB Notification: Performance of Templates: time 0.02144/0.5751, allocations: 8.042 MB / 0.596 GB, free: 31.11 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)