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 2.852/2.852, allocations: 287.9 MB / 302.9 MB, free: 8.234 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 181 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 93.92 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004809, allocations: 18.98 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.161, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01826/0.1793, allocations: 16.52 MB / 0.9949 GB, free: 11.61 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.191, allocations: 7.318 MB / 1.002 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001001/0.192, allocations: 19.81 kB / 1.002 GB, free: 4.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1932, allocations: 374.3 kB / 1.002 GB, free: 3.887 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002956/0.1962, allocations: 0.7944 MB / 1.003 GB, free: 3.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007044/0.2033, allocations: 2.18 MB / 1.005 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001825/0.2051, allocations: 0.952 MB / 1.006 GB, free: 15.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008571/0.206, allocations: 419.2 kB / 1.007 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001213/0.2072, allocations: 0.4983 MB / 1.007 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007019/0.208, allocations: 402.3 kB / 1.008 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.2081, allocations: 28 kB / 1.008 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.2098, allocations: 0.6318 MB / 1.008 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002112/0.21, allocations: 123.5 kB / 1.008 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.2103, allocations: 157.3 kB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.2117, allocations: 0.7443 MB / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.431e-06/0.2117, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.407e-06/0.2117, allocations: 0 / 1.009 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.2117, allocations: 0 / 1.009 GB, free: 12.98 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002186/0.2139, allocations: 0.9889 MB / 1.01 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/0.214, allocations: 12.03 kB / 1.01 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.2142, allocations: 79.06 kB / 1.01 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.2152, allocations: 490.5 kB / 1.011 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.202e-05/0.2153, allocations: 37 kB / 1.011 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.2154, allocations: 44 kB / 1.011 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.2169, allocations: 0.6471 MB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.217, allocations: 4 kB / 1.011 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.217, allocations: 20 kB / 1.011 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.2171, allocations: 12 kB / 1.011 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001523/0.2186, allocations: 0.5112 MB / 1.012 GB, free: 9.992 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.005228/0.2239, allocations: 3.189 MB / 1.015 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.2249, allocations: 364.5 kB / 1.015 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004514/0.2254, allocations: 340.4 kB / 1.016 GB, free: 5.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2255, allocations: 34.56 kB / 1.016 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=38): time 3.411e-06/0.2255, allocations: 0 / 1.016 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of matching and sorting (n=38): time 0.003032/0.2285, allocations: 0.8619 MB / 1.017 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.2286, allocations: 59.34 kB / 1.017 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009776/0.2296, allocations: 0.5743 MB / 1.017 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.838e-05/0.2297, allocations: 41.7 kB / 1.017 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003271/0.23, allocations: 328.4 kB / 1.018 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/0.2302, allocations: 130.2 kB / 1.018 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.2303, allocations: 12 kB / 1.018 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002212/0.2305, allocations: 370.8 kB / 1.018 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007296/0.2312, allocations: 221.2 kB / 1.018 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008516/0.2321, allocations: 368 kB / 1.019 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007702/0.2329, allocations: 256.7 kB / 1.019 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-06/0.2329, allocations: 4 kB / 1.019 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002145/0.2351, allocations: 0.7303 MB / 1.02 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009814/0.2361, allocations: 1.752 MB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.2361, allocations: 4 kB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007918/0.2369, allocations: 148.8 kB / 1.021 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009218/0.2379, allocations: 155.7 kB / 1.022 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009263/0.2388, allocations: 0.6304 MB / 1.022 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009224/0.2398, allocations: 111.3 kB / 1.022 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.2399, allocations: 31.97 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2399, allocations: 4 kB / 1.022 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001824/0.2417, allocations: 0.6189 MB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.2418, allocations: 4.562 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.2418, allocations: 12 kB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/0.2427, allocations: 167.7 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.2427, allocations: 11.94 kB / 1.023 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.2435, allocations: 91.47 kB / 1.023 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.88e-05/0.2436, allocations: 31.98 kB / 1.023 GB, free: 13.81 MB / 0.6511 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.0004692/0.2441, allocations: 272.9 kB / 1.023 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.2443, allocations: 59.25 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002081/0.2464, allocations: 0.6741 MB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.2465, allocations: 4 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2465, allocations: 0 / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.2465, allocations: 3.984 kB / 1.024 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003659/0.2502, allocations: 1.401 MB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.237e-06/0.2502, allocations: 0 / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005015/0.2507, allocations: 99.83 kB / 1.026 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005807/0.2513, allocations: 124.9 kB / 1.026 GB, free: 11.09 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/0.2514, allocations: 11.98 kB / 1.026 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008984/0.2523, allocations: 0.646 MB / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.2523, allocations: 0 / 1.026 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001977/0.2543, allocations: 0.7528 MB / 1.027 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.2548, allocations: 204 kB / 1.027 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2549, allocations: 19.94 kB / 1.027 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006097/0.2555, allocations: 47.94 kB / 1.027 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.2556, allocations: 31.97 kB / 1.027 GB, free: 9.285 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.2557, allocations: 19.98 kB / 1.027 GB, free: 9.266 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006482/0.2564, allocations: 391.1 kB / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.111e-06/0.2564, allocations: 0 / 1.028 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00147/0.2579, allocations: 395.3 kB / 1.028 GB, free: 8.504 MB / 0.6511 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.0008137/0.2587, allocations: 286.9 kB / 1.029 GB, free: 8.223 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00293/0.2616, allocations: 0.9144 MB / 1.029 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.376e-06/0.2617, allocations: 0 / 1.029 GB, free: 7.312 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.2627, allocations: 307.8 kB / 1.03 GB, free: 7.012 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001765/0.2645, allocations: 272.1 kB / 1.03 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.2672, allocations: 1.281 MB / 1.031 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006829/0.2679, allocations: 0.9272 MB / 1.032 GB, free: 4.477 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0009232/0.2689, allocations: 148.2 kB / 1.032 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002247/0.2691, allocations: 59.42 kB / 1.032 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of SimCode: time 1.697e-06/0.2691, allocations: 0 / 1.032 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of Templates: time 0.03088/0.3, allocations: 11.83 MB / 1.044 GB, free: 8.598 MB / 0.6667 GB