Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001212/0.001212, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001148/0.001148, allocations: 193 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.761/1.761, allocations: 292.2 MB / 0.5484 GB, free: 13.69 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.42 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2739, allocations: 114.6 MB / 0.7827 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.03468/0.3087, allocations: 17.5 MB / 0.7998 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02085/0.3296, allocations: 7.909 MB / 0.8075 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009348/0.3305, allocations: 15.88 kB / 0.8075 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001404/0.332, allocations: 214.9 kB / 0.8077 GB, free: 4.301 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002982/0.335, allocations: 0.5512 MB / 0.8082 GB, free: 3.75 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003568/0.3386, allocations: 0.6311 MB / 0.8089 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002474/0.3411, allocations: 1.267 MB / 0.8101 GB, free: 1.855 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007649/0.3419, allocations: 288.8 kB / 0.8104 GB, free: 1.566 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.3432, allocations: 374.3 kB / 0.8107 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008041/0.344, allocations: 322.6 kB / 0.811 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.3441, allocations: 19.94 kB / 0.8111 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.3466, allocations: 0.69 MB / 0.8117 GB, free: 176 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002494/0.3469, allocations: 119.6 kB / 0.8118 GB, free: 56 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005504/0.3475, allocations: 230.8 kB / 0.8121 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.3497, allocations: 0.845 MB / 0.8129 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3497, allocations: 3.938 kB / 0.8129 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3498, allocations: 0 / 0.8129 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.626e-05/0.3498, allocations: 0 / 0.8129 GB, free: 14.98 MB / 0.6387 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.002384/0.3522, allocations: 0.8758 MB / 0.8137 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.675e-05/0.3523, allocations: 12.03 kB / 0.8138 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000327/0.3526, allocations: 56.28 kB / 0.8138 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001154/0.3538, allocations: 461.2 kB / 0.8143 GB, free: 13.49 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.3538, allocations: 20.56 kB / 0.8143 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.3539, allocations: 28 kB / 0.8143 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008869/0.3548, allocations: 286.2 kB / 0.8146 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.3549, allocations: 0 / 0.8146 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.555e-05/0.3549, allocations: 12 kB / 0.8146 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.355, allocations: 4 kB / 0.8146 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000797/0.3558, allocations: 186.1 kB / 0.8148 GB, free: 12.95 MB / 0.6387 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.003244/0.359, allocations: 1.48 MB / 0.8162 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.3596, allocations: 154.8 kB / 0.8164 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/0.36, allocations: 84.81 kB / 0.8164 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002841/0.3628, allocations: 1.276 MB / 0.8177 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.3629, allocations: 46.48 kB / 0.8177 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 3.968e-06/0.3629, allocations: 0 / 0.8177 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.001266/0.3642, allocations: 251.4 kB / 0.818 GB, free: 9.336 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.646e-05/0.3643, allocations: 55.41 kB / 0.818 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.3657, allocations: 0.5808 MB / 0.8186 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.3657, allocations: 33.7 kB / 0.8186 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.3662, allocations: 264.1 kB / 0.8189 GB, free: 8.375 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.3663, allocations: 55.28 kB / 0.8189 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001796/0.3665, allocations: 73.88 kB / 0.819 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0002312/0.3667, allocations: 358.8 kB / 0.8193 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.3671, allocations: 81.92 kB / 0.8194 GB, free: 7.801 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005452/0.3676, allocations: 214.4 kB / 0.8196 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/0.3684, allocations: 228.2 kB / 0.8198 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.3685, allocations: 0 / 0.8198 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001251/0.3697, allocations: 316.7 kB / 0.8201 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.3698, allocations: 11.94 kB / 0.8202 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3698, allocations: 0 / 0.8202 GB, free: 6.961 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.953e-05/0.3698, allocations: 4 kB / 0.8202 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.3703, allocations: 63.91 kB / 0.8202 GB, free: 6.895 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/0.3703, allocations: 4 kB / 0.8202 GB, free: 6.891 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007083/0.3711, allocations: 55.81 kB / 0.8203 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.398e-05/0.3711, allocations: 16 kB / 0.8203 GB, free: 6.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006077/0.3718, allocations: 216 kB / 0.8205 GB, free: 6.605 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005358/0.3723, allocations: 210.2 kB / 0.8207 GB, free: 6.352 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007952/0.3731, allocations: 223.8 kB / 0.8209 GB, free: 6.102 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.48e-06/0.3732, allocations: 7.984 kB / 0.8209 GB, free: 6.094 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.001085/0.3743, allocations: 308.9 kB / 0.8212 GB, free: 5.785 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.3743, allocations: 15.92 kB / 0.8212 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3743, allocations: 0 / 0.8212 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.3743, allocations: 4 kB / 0.8212 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004327/0.3748, allocations: 72.16 kB / 0.8213 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3748, allocations: 7.938 kB / 0.8213 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007368/0.3756, allocations: 39.81 kB / 0.8213 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.3756, allocations: 16 kB / 0.8214 GB, free: 5.633 MB / 0.6387 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.0002004/0.3759, allocations: 196.1 kB / 0.8215 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/0.3761, allocations: 55.28 kB / 0.8216 GB, free: 5.379 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3771, allocations: 256.6 kB / 0.8218 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.3771, allocations: 4 kB / 0.8218 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3771, allocations: 0 / 0.8218 GB, free: 5.117 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.3772, allocations: 3.984 kB / 0.8219 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001984/0.3792, allocations: 0.7357 MB / 0.8226 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.689e-06/0.3792, allocations: 0 / 0.8226 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002329/0.3794, allocations: 35.86 kB / 0.8226 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.3795, allocations: 0 / 0.8226 GB, free: 4.273 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/0.3795, allocations: 8 kB / 0.8226 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.3795, allocations: 128 / 0.8226 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3795, allocations: 8 kB / 0.8226 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.3804, allocations: 350.2 kB / 0.823 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.3808, allocations: 152.4 kB / 0.8231 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.3809, allocations: 3.984 kB / 0.8231 GB, free: 3.715 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004122/0.3814, allocations: 23.92 kB / 0.8231 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.832e-05/0.3815, allocations: 11.92 kB / 0.8231 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.56e-05/0.3815, allocations: 12 kB / 0.8231 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009462/0.3825, allocations: 414.8 kB / 0.8235 GB, free: 3.266 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.51e-07/0.3825, allocations: 4 kB / 0.8235 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001545/0.3841, allocations: 235.6 kB / 0.8238 GB, free: 3.031 MB / 0.6387 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.002125/0.3862, allocations: 494.4 kB / 0.8242 GB, free: 2.684 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001435/0.3877, allocations: 316.3 kB / 0.8245 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/0.3877, allocations: 8.188 kB / 0.8246 GB, free: 2.367 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/0.3881, allocations: 87.89 kB / 0.8246 GB, free: 2.281 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/0.3907, allocations: 257 kB / 0.8249 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002536/0.3933, allocations: 0.9383 MB / 0.8258 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.394, allocations: 0.8507 MB / 0.8266 GB, free: 184 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.3948, allocations: 100.3 kB / 0.8267 GB, free: 80 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001498/0.3949, allocations: 35.44 kB / 0.8268 GB, free: 44 kB / 0.6387 GB Notification: Performance of SimCode: time 1.102e-06/0.395, allocations: 3.938 kB / 0.8268 GB, free: 40 kB / 0.6387 GB Notification: Performance of Templates: time 0.03109/0.4261, allocations: 9.934 MB / 0.8365 GB, free: 6.25 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)