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.001654/0.001655, allocations: 109.4 kB / 15.69 MB, free: 128 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.003076/0.003077, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.682/1.682, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.733/1.733, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.00147/0.00147, allocations: 70.8 kB / 0.6723 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2692, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01917/0.2884, allocations: 17.55 MB / 0.8013 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.3006, allocations: 7.496 MB / 0.8086 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009096/0.3016, allocations: 15.88 kB / 0.8086 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009843/0.3027, allocations: 254.4 kB / 0.8088 GB, free: 3.344 MB / 0.6231 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.002087/0.3048, allocations: 0.6101 MB / 0.8094 GB, free: 2.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.3072, allocations: 0.7068 MB / 0.8101 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.3089, allocations: 0.9583 MB / 0.8111 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005668/0.3095, allocations: 337 kB / 0.8114 GB, free: 0.7305 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007918/0.3103, allocations: 414.3 kB / 0.8118 GB, free: 332 kB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004187/0.3107, allocations: 310.7 kB / 0.8121 GB, free: 20 kB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 7.397e-05/0.3108, allocations: 28.05 kB / 0.8121 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.3123, allocations: 0.7096 MB / 0.8128 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.3125, allocations: 143.4 kB / 0.8129 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002374/0.3127, allocations: 242.7 kB / 0.8132 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001221/0.314, allocations: 0.8762 MB / 0.814 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.314, allocations: 0 / 0.814 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.553e-06/0.314, allocations: 0 / 0.814 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.314, allocations: 0 / 0.814 GB, free: 14.02 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.001269/0.3153, allocations: 0.8758 MB / 0.8149 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3153, allocations: 12.03 kB / 0.8149 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.3155, allocations: 60.28 kB / 0.8149 GB, free: 13.03 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007367/0.3163, allocations: 465.1 kB / 0.8154 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.3163, allocations: 24.56 kB / 0.8154 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.3164, allocations: 32 kB / 0.8154 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005116/0.3169, allocations: 286.2 kB / 0.8157 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3169, allocations: 0 / 0.8157 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3169, allocations: 15.94 kB / 0.8157 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.3169, allocations: 4 kB / 0.8157 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004071/0.3174, allocations: 190.1 kB / 0.8159 GB, free: 11.97 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.001892/0.3193, allocations: 1.476 MB / 0.8174 GB, free: 10.38 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003333/0.3196, allocations: 158.8 kB / 0.8175 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.3198, allocations: 88.75 kB / 0.8176 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001577/0.3214, allocations: 1.276 MB / 0.8188 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.3214, allocations: 34.56 kB / 0.8189 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.3214, allocations: 0 / 0.8189 GB, free: 8.613 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.0006406/0.3221, allocations: 256.1 kB / 0.8191 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.3221, allocations: 51.41 kB / 0.8192 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.3228, allocations: 0.5847 MB / 0.8197 GB, free: 7.699 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.3228, allocations: 29.7 kB / 0.8198 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.323, allocations: 268.1 kB / 0.82 GB, free: 7.398 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.323, allocations: 51.3 kB / 0.8201 GB, free: 7.348 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3232, allocations: 69.88 kB / 0.8201 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.3233, allocations: 358.8 kB / 0.8205 GB, free: 6.914 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3235, allocations: 77.94 kB / 0.8206 GB, free: 6.836 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002844/0.3238, allocations: 218.4 kB / 0.8208 GB, free: 6.574 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000391/0.3242, allocations: 236 kB / 0.821 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3242, allocations: 0 / 0.821 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005588/0.3248, allocations: 308.7 kB / 0.8213 GB, free: 6.004 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3248, allocations: 16.17 kB / 0.8213 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3248, allocations: 4 kB / 0.8213 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.3248, allocations: 4 kB / 0.8213 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.3251, allocations: 63.91 kB / 0.8214 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3251, allocations: 4 kB / 0.8214 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002996/0.3254, allocations: 43.58 kB / 0.8214 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.3255, allocations: 19.98 kB / 0.8214 GB, free: 5.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003149/0.3258, allocations: 216.7 kB / 0.8216 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002678/0.3261, allocations: 202.2 kB / 0.8218 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003718/0.3265, allocations: 239.7 kB / 0.8221 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.386e-06/0.3265, allocations: 3.984 kB / 0.8221 GB, free: 5.121 MB / 0.6387 GB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005363/0.327, allocations: 304.8 kB / 0.8223 GB, free: 4.816 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.327, allocations: 18.84 kB / 0.8224 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-06/0.327, allocations: 0 / 0.8224 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.132e-06/0.3271, allocations: 4 kB / 0.8224 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002425/0.3273, allocations: 59.91 kB / 0.8224 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.3273, allocations: 7.938 kB / 0.8224 GB, free: 4.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.3276, allocations: 39.81 kB / 0.8225 GB, free: 4.691 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.312e-05/0.3277, allocations: 12.19 kB / 0.8225 GB, free: 4.68 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.0001229/0.3278, allocations: 200.1 kB / 0.8227 GB, free: 4.477 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.519e-05/0.3279, allocations: 59.3 kB / 0.8227 GB, free: 4.418 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005391/0.3284, allocations: 252.5 kB / 0.823 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.3284, allocations: 7.984 kB / 0.823 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3285, allocations: 0 / 0.823 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3285, allocations: 0 / 0.823 GB, free: 4.16 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.3295, allocations: 0.7356 MB / 0.8237 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3295, allocations: 0 / 0.8237 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.3296, allocations: 27.98 kB / 0.8237 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3296, allocations: 0 / 0.8237 GB, free: 3.328 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3297, allocations: 8 kB / 0.8237 GB, free: 3.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.768e-06/0.3297, allocations: 4.125 kB / 0.8237 GB, free: 3.316 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3297, allocations: 4 kB / 0.8237 GB, free: 3.312 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004798/0.3302, allocations: 362.1 kB / 0.8241 GB, free: 2.93 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3303, allocations: 144.5 kB / 0.8242 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.3304, allocations: 7.984 kB / 0.8242 GB, free: 2.762 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.3305, allocations: 11.94 kB / 0.8242 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.3306, allocations: 19.91 kB / 0.8243 GB, free: 2.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.3306, allocations: 4 kB / 0.8243 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004601/0.3311, allocations: 418.8 kB / 0.8247 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.754e-06/0.3311, allocations: 0 / 0.8247 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007993/0.3319, allocations: 235.6 kB / 0.8249 GB, free: 2.09 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.001167/0.3331, allocations: 493.7 kB / 0.8254 GB, free: 1.738 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000801/0.3339, allocations: 311.8 kB / 0.8257 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3339, allocations: 4.938 kB / 0.8257 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.3341, allocations: 96.45 kB / 0.8258 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.3354, allocations: 260.4 kB / 0.826 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.3369, allocations: 0.8013 MB / 0.8268 GB, free: 260 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.3373, allocations: 0.8429 MB / 0.8276 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.3376, allocations: 104.2 kB / 0.8277 GB, free: 15.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.919e-05/0.3377, allocations: 43.42 kB / 0.8278 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of SimCode: time 7.12e-07/0.3378, allocations: 4 kB / 0.8278 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.0192/0.357, allocations: 10.21 MB / 0.8377 GB, free: 5.172 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)