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.0008058/0.0008059, allocations: 92.7 kB / 15.7 MB, free: 472 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.0008176/0.0008177, allocations: 174.8 kB / 16.58 MB, free: 6.066 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.415/1.415, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7083/0.7083, allocations: 115.5 MB / 407.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000559/0.000559, allocations: 9 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1878, allocations: 77.53 MB / 0.5593 GB, free: 9.414 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01519/0.203, allocations: 14.19 MB / 0.5732 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006119/0.2092, allocations: 4.068 MB / 0.5772 GB, free: 7.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.2097, allocations: 7.938 kB / 0.5772 GB, free: 7.082 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008449/0.2106, allocations: 206.9 kB / 0.5774 GB, free: 6.879 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.212, allocations: 492.5 kB / 0.5778 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001753/0.2137, allocations: 0.5978 MB / 0.5784 GB, free: 5.812 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.2151, allocations: 1.122 MB / 0.5795 GB, free: 4.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003929/0.2155, allocations: 266.3 kB / 0.5798 GB, free: 4.422 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005357/0.216, allocations: 366.4 kB / 0.5801 GB, free: 4.062 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003612/0.2164, allocations: 298.7 kB / 0.5804 GB, free: 3.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.246e-05/0.2165, allocations: 15.94 kB / 0.5804 GB, free: 3.754 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009227/0.2174, allocations: 0.5381 MB / 0.5809 GB, free: 3.215 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2175, allocations: 83.59 kB / 0.581 GB, free: 3.133 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.596e-05/0.2176, allocations: 113.5 kB / 0.5811 GB, free: 3.016 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006282/0.2182, allocations: 0.5224 MB / 0.5816 GB, free: 2.492 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2183, allocations: 0 / 0.5816 GB, free: 2.492 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2183, allocations: 0 / 0.5816 GB, free: 2.492 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.354e-06/0.2183, allocations: 0 / 0.5816 GB, free: 2.492 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.001188/0.2195, allocations: 0.7551 MB / 0.5824 GB, free: 1.688 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2195, allocations: 8.031 kB / 0.5824 GB, free: 1.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.2196, allocations: 55.34 kB / 0.5824 GB, free: 1.625 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.2202, allocations: 393 kB / 0.5828 GB, free: 1.207 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.562e-05/0.2202, allocations: 20.44 kB / 0.5828 GB, free: 1.188 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.126e-05/0.2203, allocations: 28 kB / 0.5829 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004377/0.2207, allocations: 219.1 kB / 0.5831 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.2207, allocations: 4 kB / 0.5831 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2208, allocations: 15.98 kB / 0.5831 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.2208, allocations: 4 kB / 0.5831 GB, free: 0.918 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003623/0.2211, allocations: 173.6 kB / 0.5833 GB, free: 0.7461 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.3085/0.5297, allocations: 0.9381 MB / 0.5842 GB, free: 32.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003719/0.5301, allocations: 138 kB / 0.5843 GB, free: 32.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.5303, allocations: 75 kB / 0.5844 GB, free: 32.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.5305, allocations: 335.9 kB / 0.5847 GB, free: 32.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.5305, allocations: 34.98 kB / 0.5847 GB, free: 32.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 2.805e-06/0.5305, allocations: 2.938 kB / 0.5847 GB, free: 32.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007233/0.5313, allocations: 255.4 kB / 0.585 GB, free: 32.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.5313, allocations: 58.09 kB / 0.585 GB, free: 32.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.5319, allocations: 474.9 kB / 0.5855 GB, free: 32.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.532, allocations: 30.77 kB / 0.5855 GB, free: 32.23 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.5322, allocations: 226.5 kB / 0.5857 GB, free: 32.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.5323, allocations: 50.05 kB / 0.5858 GB, free: 32.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.41e-05/0.5323, allocations: 8.031 kB / 0.5858 GB, free: 32.12 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.5324, allocations: 352 kB / 0.5861 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.5326, allocations: 67.94 kB / 0.5862 GB, free: 31.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002593/0.5328, allocations: 156.9 kB / 0.5863 GB, free: 31.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.5331, allocations: 86.52 kB / 0.5864 GB, free: 31.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.5331, allocations: 0 / 0.5864 GB, free: 31.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005138/0.5336, allocations: 259.5 kB / 0.5867 GB, free: 31.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.313e-05/0.5337, allocations: 116.2 kB / 0.5868 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.5337, allocations: 0.9688 kB / 0.5868 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5337, allocations: 2 kB / 0.5868 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002507/0.534, allocations: 49.77 kB / 0.5868 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.534, allocations: 2.156 kB / 0.5868 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003385/0.5343, allocations: 48.73 kB / 0.5869 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.5344, allocations: 13.86 kB / 0.5869 GB, free: 31.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.572e-06/0.5344, allocations: 7.688 kB / 0.5869 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003997/0.5348, allocations: 183 kB / 0.5871 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-06/0.5348, allocations: 0.75 kB / 0.5871 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.358e-06/0.5348, allocations: 2.234 kB / 0.5871 GB, free: 31.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.535, allocations: 52.11 kB / 0.5871 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.535, allocations: 1.562 kB / 0.5871 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.5353, allocations: 46.06 kB / 0.5872 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.5354, allocations: 11.53 kB / 0.5872 GB, free: 31.55 MB / 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.000179/0.5355, allocations: 245.8 kB / 0.5874 GB, free: 31.34 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.698e-05/0.5356, allocations: 44.22 kB / 0.5875 GB, free: 31.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.5362, allocations: 260.2 kB / 0.5877 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.5362, allocations: 2.5 kB / 0.5877 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5362, allocations: 0.5625 kB / 0.5877 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5362, allocations: 2.047 kB / 0.5877 GB, free: 31.22 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5372, allocations: 0.7164 MB / 0.5884 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.5372, allocations: 1.156 kB / 0.5884 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001235/0.5374, allocations: 34.53 kB / 0.5884 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.5374, allocations: 2.391 kB / 0.5884 GB, free: 30.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.5374, allocations: 14.08 kB / 0.5885 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.197e-06/0.5374, allocations: 2.766 kB / 0.5885 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5374, allocations: 1.5 kB / 0.5885 GB, free: 30.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.5379, allocations: 352.6 kB / 0.5888 GB, free: 30.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.538, allocations: 143.7 kB / 0.5889 GB, free: 30.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.938e-05/0.538, allocations: 7.312 kB / 0.5889 GB, free: 30.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.5383, allocations: 38.59 kB / 0.589 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.537e-05/0.5383, allocations: 11.55 kB / 0.589 GB, free: 30.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/0.5383, allocations: 6.094 kB / 0.589 GB, free: 30.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.5387, allocations: 332.6 kB / 0.5893 GB, free: 30.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5387, allocations: 0 / 0.5893 GB, free: 30.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007309/0.5395, allocations: 199.8 kB / 0.5895 GB, free: 30.18 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.001048/0.5405, allocations: 486.5 kB / 0.59 GB, free: 30.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006835/0.5412, allocations: 281.2 kB / 0.5902 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5412, allocations: 0.6875 kB / 0.5902 GB, free: 29.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.5414, allocations: 89.11 kB / 0.5903 GB, free: 29.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.5426, allocations: 220.5 kB / 0.5905 GB, free: 29.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.5439, allocations: 0.8453 MB / 0.5914 GB, free: 29.36 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.5442, allocations: 0.826 MB / 0.5922 GB, free: 28.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.5446, allocations: 91.02 kB / 0.5922 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.048e-05/0.5447, allocations: 35.39 kB / 0.5923 GB, free: 28.63 MB / 446.1 MB Notification: Performance of SimCode: time 5.72e-07/0.5447, allocations: 0 / 0.5923 GB, free: 28.63 MB / 446.1 MB Notification: Performance of Templates: time 0.01814/0.5628, allocations: 8.059 MB / 0.6001 GB, free: 27.28 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)