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/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.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.663/1.663, 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.001219/0.001219, allocations: 188.5 kB / 376.9 MB, free: 1.816 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.728/1.728, allocations: 205.1 MB / 0.6354 GB, free: 9.797 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.001179/0.001178, allocations: 96.05 kB / 0.7479 GB, free: 61.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001044, allocations: 59.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2785, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02089/0.2994, allocations: 17.51 MB / 0.9993 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.3125, allocations: 7.911 MB / 1.007 GB, free: 0.8711 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.3136, allocations: 15.88 kB / 1.007 GB, free: 0.8555 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.3149, allocations: 206.9 kB / 1.007 GB, free: 0.6523 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.002164/0.3171, allocations: 0.5677 MB / 1.008 GB, free: 84 kB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.3194, allocations: 0.6198 MB / 1.008 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001802/0.3212, allocations: 1.271 MB / 1.01 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006452/0.3219, allocations: 292.8 kB / 1.01 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009383/0.3228, allocations: 382.4 kB / 1.01 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00066/0.3235, allocations: 314.6 kB / 1.011 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001086/0.3236, allocations: 19.94 kB / 1.011 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.3252, allocations: 0.6861 MB / 1.011 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001898/0.3254, allocations: 119.6 kB / 1.011 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000365/0.3258, allocations: 238.6 kB / 1.012 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001677/0.3274, allocations: 0.849 MB / 1.012 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.3275, allocations: 0 / 1.012 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.3275, allocations: 3.938 kB / 1.012 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.459e-05/0.3275, allocations: 0 / 1.012 GB, free: 11.3 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001887/0.3294, allocations: 0.8681 MB / 1.013 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.3295, allocations: 12.03 kB / 1.013 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002778/0.3297, allocations: 64.19 kB / 1.013 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008012/0.3306, allocations: 445.3 kB / 1.014 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.747e-05/0.3306, allocations: 20.56 kB / 1.014 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.3306, allocations: 28 kB / 1.014 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005595/0.3312, allocations: 290.2 kB / 1.014 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.3312, allocations: 0 / 1.014 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.767e-05/0.3313, allocations: 16 kB / 1.014 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.3313, allocations: 4 kB / 1.014 GB, free: 9.465 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004396/0.3317, allocations: 182.1 kB / 1.014 GB, free: 9.289 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.00228/0.334, allocations: 1.484 MB / 1.016 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003403/0.3344, allocations: 161.9 kB / 1.016 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.3346, allocations: 88.8 kB / 1.016 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/0.3364, allocations: 1.287 MB / 1.017 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.844e-05/0.3364, allocations: 34.56 kB / 1.017 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.3364, allocations: 0 / 1.017 GB, free: 5.914 MB / 0.7448 GB Notification: Performance of matching and sorting (n=15): time 0.0006891/0.3371, allocations: 241.1 kB / 1.018 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.3372, allocations: 55.41 kB / 1.018 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006891/0.3379, allocations: 0.5847 MB / 1.018 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.3379, allocations: 33.7 kB / 1.018 GB, free: 4.969 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.3381, allocations: 264.1 kB / 1.018 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.3382, allocations: 55.2 kB / 1.018 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3383, allocations: 69.97 kB / 1.019 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.3384, allocations: 358.8 kB / 1.019 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.3386, allocations: 77.94 kB / 1.019 GB, free: 4.141 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003011/0.339, allocations: 222.3 kB / 1.019 GB, free: 3.875 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004347/0.3394, allocations: 231.8 kB / 1.019 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.3394, allocations: 0 / 1.019 GB, free: 3.617 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006795/0.3401, allocations: 320.8 kB / 1.02 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.3401, allocations: 12 kB / 1.02 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3401, allocations: 0 / 1.02 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.3402, allocations: 4 kB / 1.02 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.3404, allocations: 67.89 kB / 1.02 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.3405, allocations: 4 kB / 1.02 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003948/0.3409, allocations: 43.77 kB / 1.02 GB, free: 3.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.3409, allocations: 23.97 kB / 1.02 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003241/0.3413, allocations: 216.1 kB / 1.02 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002946/0.3416, allocations: 208.3 kB / 1.02 GB, free: 2.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003855/0.342, allocations: 223.1 kB / 1.02 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.274e-06/0.342, allocations: 0 / 1.02 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006113/0.3426, allocations: 314.6 kB / 1.021 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.3426, allocations: 7.938 kB / 1.021 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3426, allocations: 4 kB / 1.021 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.593e-06/0.3426, allocations: 4 kB / 1.021 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.3429, allocations: 63.91 kB / 1.021 GB, free: 2.039 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3429, allocations: 7.938 kB / 1.021 GB, free: 2.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.3433, allocations: 43.94 kB / 1.021 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.299e-05/0.3433, allocations: 19.92 kB / 1.021 GB, free: 1.969 MB / 0.7448 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.0001401/0.3435, allocations: 200.1 kB / 1.021 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.893e-05/0.3436, allocations: 55.28 kB / 1.021 GB, free: 1.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005881/0.3441, allocations: 253.6 kB / 1.021 GB, free: 1.457 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.3442, allocations: 4 kB / 1.021 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3442, allocations: 0 / 1.021 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3442, allocations: 192 / 1.021 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.3453, allocations: 0.7317 MB / 1.022 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.3453, allocations: 11.97 kB / 1.022 GB, free: 0.6406 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.3454, allocations: 31.92 kB / 1.022 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.3455, allocations: 3.984 kB / 1.022 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.3455, allocations: 8 kB / 1.022 GB, free: 0.5977 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.3455, allocations: 4 kB / 1.022 GB, free: 0.5938 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.3455, allocations: 4 kB / 1.022 GB, free: 0.5898 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5603/0.9058, allocations: 1.053 MB / 1.023 GB, free: 99.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003479/0.9062, allocations: 142 kB / 1.023 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.9063, allocations: 11.05 kB / 1.023 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002991/0.9066, allocations: 18.94 kB / 1.023 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.62e-05/0.9067, allocations: 14.08 kB / 1.023 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.9067, allocations: 9.812 kB / 1.023 GB, free: 99.68 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005629/0.9073, allocations: 419.2 kB / 1.024 GB, free: 99.59 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9073, allocations: 0 / 1.024 GB, free: 99.59 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001185/0.9085, allocations: 234.2 kB / 1.024 GB, free: 99.59 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 (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.001201/0.9097, allocations: 494.4 kB / 1.025 GB, free: 99.46 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008198/0.9106, allocations: 326.7 kB / 1.025 GB, free: 99.46 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.9106, allocations: 0.5625 kB / 1.025 GB, free: 99.46 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9108, allocations: 87.77 kB / 1.025 GB, free: 99.46 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001386/0.9122, allocations: 249.6 kB / 1.025 GB, free: 99.46 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.9136, allocations: 1.123 MB / 1.026 GB, free: 98.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.914, allocations: 0.8485 MB / 1.027 GB, free: 98.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003829/0.9143, allocations: 102.2 kB / 1.027 GB, free: 98.13 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.425e-05/0.9144, allocations: 38.06 kB / 1.027 GB, free: 98.13 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.9144, allocations: 0 / 1.027 GB, free: 98.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.02389/0.9383, allocations: 10.12 MB / 1.037 GB, free: 97.49 MB / 0.7448 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)