Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.64/4.64, allocations: 0.5623 GB / 0.5769 GB, free: 3.355 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.002347/0.002347, allocations: 361.8 kB / 0.6441 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 3.922/3.922, allocations: 410.7 MB / 1.112 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00176/0.00176, allocations: 184.1 kB / 1.225 GB, free: 6.129 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004831/0.0004833, allocations: 15.98 kB / 1.348 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5688/0.5693, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01682/0.5862, allocations: 17.98 MB / 1.478 GB, free: 266.4 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.597, allocations: 7.599 MB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007802/0.5979, allocations: 22.38 kB / 1.486 GB, free: 258.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008886/0.5988, allocations: 322 kB / 1.486 GB, free: 258.5 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002202/0.601, allocations: 0.7832 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006495/0.6075, allocations: 2.219 MB / 1.489 GB, free: 255.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001923/0.6094, allocations: 1.678 MB / 1.491 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005709/0.61, allocations: 405.9 kB / 1.491 GB, free: 253.5 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.6108, allocations: 0.5112 MB / 1.492 GB, free: 253 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005906/0.6114, allocations: 0.4889 MB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.406e-05/0.6115, allocations: 28 kB / 1.492 GB, free: 252.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.6127, allocations: 0.6001 MB / 1.493 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000129/0.6128, allocations: 127.4 kB / 1.493 GB, free: 251.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.613, allocations: 149.3 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0008505/0.6139, allocations: 0.7387 MB / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.81e-06/0.6139, allocations: 0 / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.926e-06/0.6139, allocations: 0 / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.6139, allocations: 0 / 1.494 GB, free: 250.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001708/0.6156, allocations: 0.9942 MB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6157, allocations: 11.62 kB / 1.495 GB, free: 249.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.6158, allocations: 86.97 kB / 1.495 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000723/0.6166, allocations: 484 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.6166, allocations: 37 kB / 1.495 GB, free: 249.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.15e-05/0.6167, allocations: 52 kB / 1.495 GB, free: 249.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001174/0.6179, allocations: 0.6408 MB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6179, allocations: 1.562 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.353e-05/0.618, allocations: 23.94 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.618, allocations: 12 kB / 1.496 GB, free: 248.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001323/0.6193, allocations: 0.5103 MB / 1.496 GB, free: 247.9 MB / 0.8542 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.003382/0.6227, allocations: 3.187 MB / 1.499 GB, free: 244.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.6236, allocations: 361.8 kB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006095/0.6243, allocations: 237 kB / 1.5 GB, free: 244 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002895/0.6246, allocations: 352.3 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.066e-05/0.6246, allocations: 39.16 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=38): time 3.121e-06/0.6246, allocations: 0 / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=38): time 0.002563/0.6272, allocations: 0.8651 MB / 1.501 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6272, allocations: 60.02 kB / 1.501 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/0.6279, allocations: 0.5704 MB / 1.502 GB, free: 242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.562e-05/0.628, allocations: 38.77 kB / 1.502 GB, free: 241.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.6282, allocations: 320.4 kB / 1.502 GB, free: 241.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.306e-05/0.6283, allocations: 138.8 kB / 1.502 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.6284, allocations: 8 kB / 1.502 GB, free: 241.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.6285, allocations: 376.4 kB / 1.503 GB, free: 241.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006204/0.6291, allocations: 215.6 kB / 1.503 GB, free: 240.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000707/0.6298, allocations: 381.5 kB / 1.503 GB, free: 240.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.6305, allocations: 254.2 kB / 1.504 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.955e-06/0.6305, allocations: 3.938 kB / 1.504 GB, free: 240.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001789/0.6323, allocations: 0.7278 MB / 1.504 GB, free: 239.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.6324, allocations: 225.4 kB / 1.504 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6325, allocations: 4 kB / 1.504 GB, free: 239.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.6332, allocations: 157.6 kB / 1.505 GB, free: 239.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000808/0.634, allocations: 151.8 kB / 1.505 GB, free: 238.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006586/0.6347, allocations: 0.6271 MB / 1.505 GB, free: 238.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000741/0.6354, allocations: 103.4 kB / 1.505 GB, free: 238.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.6355, allocations: 34.52 kB / 1.505 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/0.6355, allocations: 7.953 kB / 1.506 GB, free: 238.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001539/0.6371, allocations: 0.6189 MB / 1.506 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.059e-06/0.6371, allocations: 4 kB / 1.506 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.6371, allocations: 8 kB / 1.506 GB, free: 237.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000763/0.6379, allocations: 172.3 kB / 1.506 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.6379, allocations: 7.984 kB / 1.506 GB, free: 237.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006502/0.6386, allocations: 91.45 kB / 1.506 GB, free: 237.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.6387, allocations: 27.98 kB / 1.506 GB, free: 237.2 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003163/0.639, allocations: 272.6 kB / 1.507 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001169/0.6391, allocations: 67.2 kB / 1.507 GB, free: 236.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.6409, allocations: 0.6761 MB / 1.507 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/0.6409, allocations: 4 kB / 1.507 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.588e-06/0.641, allocations: 4 kB / 1.507 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.783e-06/0.641, allocations: 11.86 kB / 1.507 GB, free: 236.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.644, allocations: 1.396 MB / 1.509 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/0.6441, allocations: 4 kB / 1.509 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.6446, allocations: 95.97 kB / 1.509 GB, free: 234.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005667/0.6452, allocations: 126.3 kB / 1.509 GB, free: 234.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/0.6453, allocations: 15.98 kB / 1.509 GB, free: 234.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000726/0.646, allocations: 0.6304 MB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.052e-06/0.646, allocations: 4.094 kB / 1.51 GB, free: 233.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.6478, allocations: 0.73 MB / 1.51 GB, free: 233 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003073/0.6481, allocations: 200.1 kB / 1.511 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.6483, allocations: 4 kB / 1.511 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006378/0.6489, allocations: 55.94 kB / 1.511 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.573e-05/0.649, allocations: 35.89 kB / 1.511 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.125e-05/0.6491, allocations: 16 kB / 1.511 GB, free: 232.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005123/0.6496, allocations: 395.1 kB / 1.511 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.27e-07/0.6496, allocations: 0 / 1.511 GB, free: 232.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001247/0.6509, allocations: 383.4 kB / 1.511 GB, free: 231.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006447/0.6515, allocations: 306.7 kB / 1.512 GB, free: 231.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002471/0.654, allocations: 0.9058 MB / 1.513 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6541, allocations: 0 / 1.513 GB, free: 230.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008718/0.6549, allocations: 311.8 kB / 1.513 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.6567, allocations: 278.5 kB / 1.513 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.6587, allocations: 1.277 MB / 1.514 GB, free: 228.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.6591, allocations: 0.9233 MB / 1.515 GB, free: 227.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0007597/0.6599, allocations: 162.4 kB / 1.515 GB, free: 227.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001938/0.6601, allocations: 55.42 kB / 1.515 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.574e-06/0.6601, allocations: 4 kB / 1.515 GB, free: 227.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.025/0.6851, allocations: 11.82 MB / 1.527 GB, free: 216.3 MB / 0.8542 GB