Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.3 MB / 308.1 MB, free: 4.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001439, allocations: 190.4 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.718/1.718, allocations: 205.1 MB / 0.6354 GB, free: 9.773 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001028/0.001028, allocations: 96.75 kB / 0.748 GB, free: 61.24 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 59.89 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2963, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02128/0.3176, allocations: 15.66 MB / 0.9975 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01298/0.3306, allocations: 7.464 MB / 1.005 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009283/0.3316, allocations: 19.88 kB / 1.005 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.3328, allocations: 218.9 kB / 1.005 GB, free: 2.922 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.001827/0.3346, allocations: 0.5559 MB / 1.006 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002048/0.3367, allocations: 0.616 MB / 1.006 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001758/0.3385, allocations: 1.31 MB / 1.007 GB, free: 444 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.3391, allocations: 283.7 kB / 1.008 GB, free: 156 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009735/0.3401, allocations: 390.3 kB / 1.008 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.3408, allocations: 314.5 kB / 1.008 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 6.23e-05/0.3409, allocations: 16 kB / 1.008 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3423, allocations: 0.5887 MB / 1.009 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.3425, allocations: 103.5 kB / 1.009 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002985/0.3428, allocations: 206.8 kB / 1.009 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.344, allocations: 0.7361 MB / 1.01 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.344, allocations: 0 / 1.01 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.423e-06/0.344, allocations: 0 / 1.01 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.344, allocations: 0 / 1.01 GB, free: 13.81 MB / 0.7448 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.001539/0.3456, allocations: 0.8214 MB / 1.011 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.3456, allocations: 8.031 kB / 1.011 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001248/0.3458, allocations: 56.28 kB / 1.011 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.3464, allocations: 413.1 kB / 1.011 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.3465, allocations: 20.44 kB / 1.011 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.466e-05/0.3465, allocations: 31.94 kB / 1.011 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.347, allocations: 207.2 kB / 1.012 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.347, allocations: 7.984 kB / 1.012 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.347, allocations: 4 kB / 1.012 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.738e-06/0.347, allocations: 8 kB / 1.012 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.3474, allocations: 165.6 kB / 1.012 GB, free: 12 MB / 0.7448 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.001615/0.349, allocations: 0.9457 MB / 1.013 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.3494, allocations: 134.5 kB / 1.013 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.3495, allocations: 68.81 kB / 1.013 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.3499, allocations: 340.4 kB / 1.013 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3499, allocations: 34.56 kB / 1.013 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.35, allocations: 0 / 1.013 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0006896/0.3506, allocations: 245 kB / 1.013 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.3507, allocations: 55.34 kB / 1.013 GB, free: 10 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005205/0.3512, allocations: 469.9 kB / 1.014 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.3513, allocations: 33.7 kB / 1.014 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/0.3515, allocations: 232.6 kB / 1.014 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.963e-05/0.3515, allocations: 51.36 kB / 1.014 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-05/0.3516, allocations: 57.7 kB / 1.014 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.3518, allocations: 354.7 kB / 1.015 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001746/0.352, allocations: 72.81 kB / 1.015 GB, free: 8.719 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/0.3522, allocations: 150.7 kB / 1.015 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003317/0.3526, allocations: 166.4 kB / 1.015 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3526, allocations: 0 / 1.015 GB, free: 8.375 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005096/0.3531, allocations: 259.1 kB / 1.015 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.3531, allocations: 8 kB / 1.015 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3531, allocations: 0 / 1.015 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3532, allocations: 0 / 1.015 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.3534, allocations: 47.91 kB / 1.015 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.3534, allocations: 4 kB / 1.015 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003091/0.3537, allocations: 39.81 kB / 1.015 GB, free: 8.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.3538, allocations: 15.98 kB / 1.015 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002818/0.3541, allocations: 192 kB / 1.016 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002513/0.3543, allocations: 157.2 kB / 1.016 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003412/0.3547, allocations: 172.2 kB / 1.016 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.3547, allocations: 0 / 1.016 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005001/0.3552, allocations: 256.9 kB / 1.016 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.3552, allocations: 4 kB / 1.016 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-06/0.3552, allocations: 7.938 kB / 1.016 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-06/0.3552, allocations: 0 / 1.016 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.3554, allocations: 51.91 kB / 1.016 GB, free: 7.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.3554, allocations: 4 kB / 1.016 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.3558, allocations: 43.88 kB / 1.016 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.329e-05/0.3558, allocations: 11.98 kB / 1.016 GB, free: 7.062 MB / 0.7448 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.0001354/0.3559, allocations: 200.1 kB / 1.016 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.713e-05/0.356, allocations: 35.53 kB / 1.016 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.3566, allocations: 249.1 kB / 1.017 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.3566, allocations: 0 / 1.017 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.3566, allocations: 0 / 1.017 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.3566, allocations: 0 / 1.017 GB, free: 6.574 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.3577, allocations: 0.7083 MB / 1.017 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.3577, allocations: 4 kB / 1.017 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.3578, allocations: 27.98 kB / 1.017 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.3578, allocations: 4 kB / 1.017 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.3578, allocations: 7.938 kB / 1.017 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3578, allocations: 0 / 1.017 GB, free: 5.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.3579, allocations: 3.984 kB / 1.017 GB, free: 5.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.3589, allocations: 1.037 MB / 1.018 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001562/0.3591, allocations: 140.4 kB / 1.019 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.437e-05/0.3591, allocations: 4 kB / 1.019 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.3593, allocations: 27.97 kB / 1.019 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.3594, allocations: 7.984 kB / 1.019 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3594, allocations: 16.12 kB / 1.019 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003758/0.3598, allocations: 326.9 kB / 1.019 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3598, allocations: 7.938 kB / 1.019 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0008918/0.3607, allocations: 211.6 kB / 1.019 GB, free: 3.902 MB / 0.7448 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.00114/0.3619, allocations: 477 kB / 1.02 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007342/0.3626, allocations: 267.7 kB / 1.02 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.3626, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001851/0.3628, allocations: 91.7 kB / 1.02 GB, free: 3.172 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.3642, allocations: 228.5 kB / 1.02 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001488/0.3657, allocations: 0.9986 MB / 1.021 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.3662, allocations: 0.8311 MB / 1.022 GB, free: 1.047 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003385/0.3665, allocations: 87.39 kB / 1.022 GB, free: 0.957 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.036e-05/0.3666, allocations: 35.42 kB / 1.022 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of SimCode: time 5.31e-07/0.3666, allocations: 0 / 1.022 GB, free: 0.9258 MB / 0.7448 GB Notification: Performance of Templates: time 0.4642/0.8308, allocations: 8.542 MB / 1.03 GB, free: 98.75 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)