Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.067/5.067, allocations: 0.5623 GB / 0.5776 GB, free: 3.27 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002513/0.002513, allocations: 358.5 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00172/0.00172, allocations: 180.5 kB / 1.226 GB, free: 35.96 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004857/0.0004859, allocations: 12.78 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.2 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02949/0.2476, allocations: 16.1 MB / 1.477 GB, free: 6.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.2645, allocations: 6.968 MB / 1.484 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008716/0.2654, allocations: 15.88 kB / 1.484 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001337/0.2668, allocations: 254.6 kB / 1.484 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002578/0.2694, allocations: 0.5788 MB / 1.485 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.007734/0.2772, allocations: 1.755 MB / 1.486 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002243/0.2794, allocations: 1.087 MB / 1.487 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007652/0.2802, allocations: 266.4 kB / 1.488 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001043/0.2813, allocations: 334.5 kB / 1.488 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006388/0.282, allocations: 298.6 kB / 1.488 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.2821, allocations: 19.94 kB / 1.488 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.2836, allocations: 431.1 kB / 1.489 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002487/0.2839, allocations: 115.6 kB / 1.489 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002386/0.2842, allocations: 109.5 kB / 1.489 GB, free: 10.24 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001249/0.2854, allocations: 0.5455 MB / 1.489 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2855, allocations: 0 / 1.489 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2855, allocations: 0 / 1.489 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.2855, allocations: 0 / 1.489 GB, free: 9.695 MB / 0.6355 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.00169/0.2872, allocations: 0.7669 MB / 1.49 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.2873, allocations: 8.031 kB / 1.49 GB, free: 8.871 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002166/0.2875, allocations: 63.25 kB / 1.49 GB, free: 8.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009036/0.2884, allocations: 424.8 kB / 1.491 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.2885, allocations: 20.56 kB / 1.491 GB, free: 8.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.63e-05/0.2886, allocations: 31.95 kB / 1.491 GB, free: 8.301 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008428/0.2894, allocations: 290.2 kB / 1.491 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2894, allocations: 0 / 1.491 GB, free: 7.996 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.324e-05/0.2895, allocations: 12 kB / 1.491 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.2895, allocations: 4 kB / 1.491 GB, free: 7.98 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00072/0.2902, allocations: 206.1 kB / 1.491 GB, free: 7.781 MB / 0.6355 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.002993/0.2932, allocations: 1.476 MB / 1.493 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.2938, allocations: 170.8 kB / 1.493 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/0.2942, allocations: 96.64 kB / 1.493 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.2967, allocations: 1.288 MB / 1.494 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.916e-05/0.2968, allocations: 42.55 kB / 1.494 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 3.045e-06/0.2968, allocations: 0 / 1.494 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.001043/0.2979, allocations: 265.1 kB / 1.495 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.2979, allocations: 55.41 kB / 1.495 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.299, allocations: 0.5769 MB / 1.495 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.2991, allocations: 33.7 kB / 1.495 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002984/0.2994, allocations: 268 kB / 1.495 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.66e-05/0.2995, allocations: 55.28 kB / 1.495 GB, free: 3.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.768e-05/0.2995, allocations: 4 kB / 1.495 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.2997, allocations: 366.7 kB / 1.496 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.3, allocations: 72.52 kB / 1.496 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004765/0.3005, allocations: 214.7 kB / 1.496 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004032/0.3009, allocations: 107.9 kB / 1.496 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.301, allocations: 0 / 1.496 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001028/0.302, allocations: 316.7 kB / 1.496 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/0.3022, allocations: 164.8 kB / 1.497 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.3022, allocations: 0 / 1.497 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/0.3022, allocations: 8 kB / 1.497 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/0.3027, allocations: 63.95 kB / 1.497 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.3027, allocations: 15.94 kB / 1.497 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.3034, allocations: 55.56 kB / 1.497 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.387e-05/0.3034, allocations: 12 kB / 1.497 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.3035, allocations: 4 kB / 1.497 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008239/0.3043, allocations: 247.6 kB / 1.497 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.3043, allocations: 4 kB / 1.497 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.3043, allocations: 4 kB / 1.497 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004711/0.3048, allocations: 68.16 kB / 1.497 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.3048, allocations: 4 kB / 1.497 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005852/0.3054, allocations: 43.75 kB / 1.497 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-05/0.3055, allocations: 12 kB / 1.497 GB, free: 1.262 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003682/0.3059, allocations: 268.9 kB / 1.497 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.306, allocations: 55.3 kB / 1.497 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/0.3069, allocations: 257.7 kB / 1.498 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.3069, allocations: 4 kB / 1.498 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.307, allocations: 3.984 kB / 1.498 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002457/0.3072, allocations: 156.3 kB / 1.498 GB, free: 0.4961 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.352e-05/0.3073, allocations: 4 kB / 1.498 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000359/0.3077, allocations: 15.98 kB / 1.498 GB, free: 488 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.3078, allocations: 11.98 kB / 1.498 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007895/0.3086, allocations: 296.7 kB / 1.498 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0008781/0.3094, allocations: 413.8 kB / 1.499 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000292/0.3098, allocations: 83.86 kB / 1.499 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0007764/0.3106, allocations: 422.8 kB / 1.499 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of Backend: time 6.11e-07/0.3106, allocations: 0 / 1.499 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003166/0.3137, allocations: 0.8087 MB / 1.5 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of SimCode: time 0.00393/0.3177, allocations: 1.536 MB / 1.501 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.0324/0.3502, allocations: 10.68 MB / 1.512 GB, free: 2.488 MB / 0.6511 GB