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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 189.1 kB / 16.63 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4746/0.4746, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 349.1 MB, free: 2.75 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 118.9 kB / 420 MB, free: 8.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 55.91 kB / 0.4891 GB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3355, allocations: 70.06 MB / 0.5575 GB, free: 44.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01322/0.3488, allocations: 15.48 MB / 0.5726 GB, free: 29.67 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005153/0.354, allocations: 4.342 MB / 0.5769 GB, free: 25.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005496/0.3545, allocations: 15.88 kB / 0.5769 GB, free: 25.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008461/0.3554, allocations: 222.9 kB / 0.5771 GB, free: 25.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.3566, allocations: 0.5494 MB / 0.5776 GB, free: 24.53 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001509/0.3581, allocations: 0.6315 MB / 0.5782 GB, free: 23.91 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001018/0.3592, allocations: 1.317 MB / 0.5795 GB, free: 22.59 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003198/0.3595, allocations: 297.8 kB / 0.5798 GB, free: 22.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004999/0.36, allocations: 394.3 kB / 0.5802 GB, free: 21.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003052/0.3603, allocations: 326.5 kB / 0.5805 GB, free: 21.59 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.589e-05/0.3604, allocations: 16 kB / 0.5805 GB, free: 21.57 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008705/0.3612, allocations: 0.6004 MB / 0.5811 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.701e-05/0.3613, allocations: 91.55 kB / 0.5812 GB, free: 20.88 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.3615, allocations: 210.8 kB / 0.5814 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007069/0.3622, allocations: 0.7439 MB / 0.5821 GB, free: 19.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3622, allocations: 0 / 0.5821 GB, free: 19.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3622, allocations: 7.938 kB / 0.5821 GB, free: 19.92 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.251e-06/0.3623, allocations: 0 / 0.5821 GB, free: 19.92 MB / 410.7 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.001066/0.3633, allocations: 0.8353 MB / 0.5829 GB, free: 19.04 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.3634, allocations: 12.02 kB / 0.5829 GB, free: 19.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.3635, allocations: 56.28 kB / 0.583 GB, free: 18.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004605/0.3639, allocations: 417.4 kB / 0.5834 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.364, allocations: 20.44 kB / 0.5834 GB, free: 18.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.848e-05/0.364, allocations: 28 kB / 0.5834 GB, free: 18.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.3644, allocations: 211.2 kB / 0.5836 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3644, allocations: 0 / 0.5836 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.3644, allocations: 8 kB / 0.5836 GB, free: 18.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.3644, allocations: 4 kB / 0.5837 GB, free: 18.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.3648, allocations: 165.6 kB / 0.5838 GB, free: 18.09 MB / 410.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.001306/0.3661, allocations: 0.9495 MB / 0.5847 GB, free: 17.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002452/0.3663, allocations: 134.6 kB / 0.5849 GB, free: 16.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3665, allocations: 68.81 kB / 0.5849 GB, free: 16.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.3667, allocations: 344.5 kB / 0.5853 GB, free: 16.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3667, allocations: 30.56 kB / 0.5853 GB, free: 16.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.3667, allocations: 0 / 0.5853 GB, free: 16.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005391/0.3673, allocations: 249 kB / 0.5855 GB, free: 16.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.3673, allocations: 51.41 kB / 0.5856 GB, free: 16.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.3677, allocations: 470 kB / 0.586 GB, free: 15.62 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3677, allocations: 33.7 kB / 0.5861 GB, free: 15.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.3678, allocations: 232.5 kB / 0.5863 GB, free: 15.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.3679, allocations: 47.27 kB / 0.5863 GB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.3679, allocations: 53.7 kB / 0.5864 GB, free: 15.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.368, allocations: 366.7 kB / 0.5867 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.3682, allocations: 68.81 kB / 0.5868 GB, free: 14.81 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002014/0.3684, allocations: 150.2 kB / 0.5869 GB, free: 14.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3687, allocations: 164.4 kB / 0.5871 GB, free: 14.47 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3687, allocations: 0 / 0.5871 GB, free: 14.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004495/0.3692, allocations: 257 kB / 0.5873 GB, free: 14.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3692, allocations: 9.719 kB / 0.5873 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3692, allocations: 0 / 0.5873 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.3692, allocations: 4 kB / 0.5873 GB, free: 14.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.3694, allocations: 51.84 kB / 0.5874 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.3694, allocations: 0 / 0.5874 GB, free: 14.15 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.3697, allocations: 47.66 kB / 0.5874 GB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.3698, allocations: 11.98 kB / 0.5875 GB, free: 14.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002257/0.37, allocations: 192.1 kB / 0.5876 GB, free: 13.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001864/0.3702, allocations: 165.2 kB / 0.5878 GB, free: 13.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000264/0.3705, allocations: 172.1 kB / 0.588 GB, free: 13.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.3705, allocations: 4 kB / 0.588 GB, free: 13.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0004015/0.3709, allocations: 247.6 kB / 0.5882 GB, free: 13.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.3709, allocations: 4 kB / 0.5882 GB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.3709, allocations: 8 kB / 0.5882 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-06/0.3709, allocations: 4.062 kB / 0.5882 GB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.3711, allocations: 47.91 kB / 0.5883 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.3711, allocations: 0 / 0.5883 GB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.3714, allocations: 39.88 kB / 0.5883 GB, free: 13.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.3715, allocations: 11.98 kB / 0.5883 GB, free: 13.16 MB / 410.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 (24): * Single equations (assignments): 24 * 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 7.184e-05/0.3715, allocations: 204.1 kB / 0.5885 GB, free: 12.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.3716, allocations: 43.44 kB / 0.5885 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004535/0.3721, allocations: 249.2 kB / 0.5888 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.3721, allocations: 0 / 0.5888 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3721, allocations: 0 / 0.5888 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3721, allocations: 4 kB / 0.5888 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007889/0.3729, allocations: 0.7005 MB / 0.5895 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3729, allocations: 0 / 0.5895 GB, free: 11.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.373, allocations: 35.92 kB / 0.5895 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.373, allocations: 4.125 kB / 0.5895 GB, free: 11.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3731, allocations: 7.984 kB / 0.5895 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.3731, allocations: 3.938 kB / 0.5895 GB, free: 11.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3731, allocations: 7.938 kB / 0.5895 GB, free: 11.82 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.3737, allocations: 1.036 MB / 0.5905 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.3739, allocations: 144.6 kB / 0.5907 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/0.3739, allocations: 4 kB / 0.5907 GB, free: 10.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.3741, allocations: 27.95 kB / 0.5907 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.194e-05/0.3742, allocations: 15.98 kB / 0.5907 GB, free: 10.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.3742, allocations: 4 kB / 0.5907 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002588/0.3745, allocations: 330.9 kB / 0.591 GB, free: 10.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3745, allocations: 0 / 0.591 GB, free: 10.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007649/0.3752, allocations: 211.6 kB / 0.5912 GB, free: 9.977 MB / 410.7 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 (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.0009579/0.3762, allocations: 499 kB / 0.5917 GB, free: 9.621 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005312/0.3767, allocations: 263.7 kB / 0.592 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3768, allocations: 0 / 0.592 GB, free: 9.363 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001697/0.3769, allocations: 87.83 kB / 0.5921 GB, free: 9.277 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3782, allocations: 216.1 kB / 0.5923 GB, free: 9.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3793, allocations: 1.003 MB / 0.5932 GB, free: 8.023 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.3795, allocations: 0.8272 MB / 0.594 GB, free: 7.172 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002628/0.3798, allocations: 91.77 kB / 0.5941 GB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.199e-05/0.3798, allocations: 39.42 kB / 0.5942 GB, free: 7.043 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3798, allocations: 0 / 0.5942 GB, free: 7.043 MB / 410.7 MB Notification: Performance of Templates: time 0.0135/0.3934, allocations: 8.491 MB / 0.6025 GB, free: 14.66 MB / 426.7 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)