Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.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.001164/0.001164, allocations: 108 kB / 15.6 MB, free: 132 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.001428/0.001428, allocations: 195.5 kB / 16.53 MB, free: 6.672 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.4/1.4, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.842/2.842, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 58.94 kB / 0.912 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3221, allocations: 159.9 MB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01642/0.3385, allocations: 15.54 MB / 1.083 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.007362/0.346, allocations: 4.338 MB / 1.088 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006522/0.3466, allocations: 15.88 kB / 1.088 GB, free: 6.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.3477, allocations: 266.3 kB / 1.088 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001635/0.3494, allocations: 0.5984 MB / 1.088 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001855/0.3512, allocations: 0.7074 MB / 1.089 GB, free: 4.957 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.3526, allocations: 1.017 MB / 1.09 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000559/0.3531, allocations: 344 kB / 1.09 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000803/0.3539, allocations: 422.3 kB / 1.091 GB, free: 3.18 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005044/0.3545, allocations: 318.5 kB / 1.091 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.343e-05/0.3545, allocations: 28 kB / 1.091 GB, free: 2.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001138/0.3557, allocations: 0.6239 MB / 1.092 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001372/0.3558, allocations: 107.5 kB / 1.092 GB, free: 2.109 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3561, allocations: 226.7 kB / 1.092 GB, free: 1.887 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.3573, allocations: 0.7517 MB / 1.093 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3573, allocations: 0 / 1.093 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3573, allocations: 4 kB / 1.093 GB, free: 1.129 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.582e-05/0.3573, allocations: 0 / 1.093 GB, free: 1.129 MB / 0.8419 GB 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.001368/0.3587, allocations: 0.8291 MB / 1.094 GB, free: 256 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.3587, allocations: 12.02 kB / 1.094 GB, free: 244 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3589, allocations: 60.28 kB / 1.094 GB, free: 184 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.3595, allocations: 409.4 kB / 1.094 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.3595, allocations: 24.44 kB / 1.094 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.423e-05/0.3596, allocations: 28 kB / 1.094 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004482/0.36, allocations: 223.2 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.36, allocations: 0 / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3601, allocations: 4 kB / 1.094 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3601, allocations: 4 kB / 1.094 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000393/0.3605, allocations: 161.6 kB / 1.095 GB, free: 15.3 MB / 0.8575 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.001687/0.3622, allocations: 0.9574 MB / 1.095 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3625, allocations: 142.4 kB / 1.096 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.3627, allocations: 68.81 kB / 1.096 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002871/0.363, allocations: 340.4 kB / 1.096 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/0.363, allocations: 34.56 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.363, allocations: 4 kB / 1.096 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.0006666/0.3637, allocations: 233.1 kB / 1.096 GB, free: 13.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3637, allocations: 55.39 kB / 1.096 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005167/0.3642, allocations: 477.9 kB / 1.097 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3643, allocations: 33.7 kB / 1.097 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001935/0.3645, allocations: 228.6 kB / 1.097 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.103e-05/0.3645, allocations: 51.3 kB / 1.097 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.492e-05/0.3646, allocations: 69.53 kB / 1.097 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3648, allocations: 354.7 kB / 1.097 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001877/0.365, allocations: 68.81 kB / 1.098 GB, free: 12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002619/0.3652, allocations: 158.3 kB / 1.098 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.3656, allocations: 160.3 kB / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3656, allocations: 0 / 1.098 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000537/0.3662, allocations: 253 kB / 1.098 GB, free: 11.4 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3662, allocations: 5.094 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.3662, allocations: 4 kB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3662, allocations: 0 / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.3664, allocations: 47.91 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3665, allocations: 7.984 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.3668, allocations: 31.73 kB / 1.098 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3668, allocations: 15.98 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002781/0.3671, allocations: 188.1 kB / 1.098 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002398/0.3674, allocations: 157.2 kB / 1.099 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003435/0.3677, allocations: 178.2 kB / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.3677, allocations: 0 / 1.099 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.00051/0.3682, allocations: 253.1 kB / 1.099 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3683, allocations: 8 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3683, allocations: 0 / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.893e-06/0.3683, allocations: 7.938 kB / 1.099 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.3685, allocations: 51.97 kB / 1.099 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.3685, allocations: 4 kB / 1.099 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.3689, allocations: 35.81 kB / 1.099 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3689, allocations: 4 kB / 1.099 GB, free: 10.36 MB / 0.8575 GB 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 0.0001268/0.369, allocations: 204.1 kB / 1.099 GB, free: 10.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.578e-05/0.3691, allocations: 43.44 kB / 1.099 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.3697, allocations: 254.6 kB / 1.1 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3697, allocations: 4 kB / 1.1 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3697, allocations: 0 / 1.1 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.3697, allocations: 3.984 kB / 1.1 GB, free: 9.848 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000987/0.3707, allocations: 0.6967 MB / 1.1 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.3707, allocations: 3.938 kB / 1.1 GB, free: 9.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001296/0.3709, allocations: 31.98 kB / 1.1 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.3709, allocations: 0 / 1.1 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.3709, allocations: 4 kB / 1.1 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3709, allocations: 7.938 kB / 1.1 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.3709, allocations: 4.125 kB / 1.1 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000485/0.3714, allocations: 339 kB / 1.101 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.3715, allocations: 140.5 kB / 1.101 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.3716, allocations: 15.92 kB / 1.101 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002144/0.3718, allocations: 11.92 kB / 1.101 GB, free: 8.488 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.3719, allocations: 15.98 kB / 1.101 GB, free: 8.473 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.3719, allocations: 4 kB / 1.101 GB, free: 8.469 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0003415/0.3723, allocations: 342.8 kB / 1.101 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3723, allocations: 0 / 1.101 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0006859/0.373, allocations: 199.7 kB / 1.101 GB, free: 7.941 MB / 0.8575 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 (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.001162/0.3741, allocations: 472 kB / 1.102 GB, free: 7.609 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0006935/0.3748, allocations: 281.4 kB / 1.102 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3748, allocations: 0 / 1.102 GB, free: 7.336 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.3751, allocations: 87.81 kB / 1.102 GB, free: 7.25 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.3762, allocations: 208.7 kB / 1.102 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3774, allocations: 0.7206 MB / 1.103 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.3778, allocations: 0.823 MB / 1.104 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003165/0.3781, allocations: 91.06 kB / 1.104 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.3782, allocations: 39.44 kB / 1.104 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.3782, allocations: 4 kB / 1.104 GB, free: 5.316 MB / 0.8575 GB Notification: Performance of Templates: time 0.01683/0.3951, allocations: 8.477 MB / 1.112 GB, free: 12.96 MB / 0.8731 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)