Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.368/2.368, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002246, allocations: 180.2 kB / 325.6 MB, free: 2.832 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.816/2.816, allocations: 205.4 MB / 0.5766 GB, free: 20.81 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 98.06 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004756/0.0004756, allocations: 11.94 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2147, allocations: 106.3 MB / 0.8989 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.03028/0.245, allocations: 16.54 MB / 0.915 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01875/0.2638, allocations: 7.295 MB / 0.9222 GB, free: 41.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.2649, allocations: 19.81 kB / 0.9222 GB, free: 41.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001673/0.2666, allocations: 370.3 kB / 0.9225 GB, free: 41.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.2701, allocations: 0.8022 MB / 0.9233 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.008518/0.2787, allocations: 2.133 MB / 0.9254 GB, free: 38.3 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002212/0.2809, allocations: 0.9464 MB / 0.9263 GB, free: 37.35 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009002/0.2819, allocations: 423.5 kB / 0.9267 GB, free: 36.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001331/0.2832, allocations: 0.5022 MB / 0.9272 GB, free: 36.42 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008246/0.2841, allocations: 398.4 kB / 0.9276 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001595/0.2843, allocations: 31.94 kB / 0.9276 GB, free: 36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001801/0.2861, allocations: 0.628 MB / 0.9282 GB, free: 35.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002182/0.2863, allocations: 123.5 kB / 0.9284 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003296/0.2867, allocations: 157.3 kB / 0.9285 GB, free: 35.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2882, allocations: 0.7404 MB / 0.9292 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2882, allocations: 0 / 0.9292 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2882, allocations: 0 / 0.9292 GB, free: 34.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.2883, allocations: 0 / 0.9292 GB, free: 34.34 MB / 0.6042 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.002438/0.2907, allocations: 0.9928 MB / 0.9302 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2908, allocations: 8.031 kB / 0.9302 GB, free: 33.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.2909, allocations: 79.06 kB / 0.9303 GB, free: 33.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009166/0.2919, allocations: 490.5 kB / 0.9308 GB, free: 32.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.876e-05/0.2919, allocations: 41 kB / 0.9308 GB, free: 32.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/0.292, allocations: 55.98 kB / 0.9308 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.2935, allocations: 0.6293 MB / 0.9315 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.2936, allocations: 0 / 0.9315 GB, free: 31.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/0.2937, allocations: 24 kB / 0.9315 GB, free: 31.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2937, allocations: 12 kB / 0.9315 GB, free: 31.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001679/0.2954, allocations: 0.5073 MB / 0.932 GB, free: 31.36 MB / 0.6042 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.004518/0.2999, allocations: 3.201 MB / 0.9351 GB, free: 27.96 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3011, allocations: 354.7 kB / 0.9355 GB, free: 27.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003574/0.3014, allocations: 348.4 kB / 0.9358 GB, free: 27.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.3015, allocations: 38.59 kB / 0.9358 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=38): time 2.595e-06/0.3015, allocations: 0 / 0.9358 GB, free: 27.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=38): time 0.003467/0.305, allocations: 0.8733 MB / 0.9367 GB, free: 26.25 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/0.3051, allocations: 55.41 kB / 0.9367 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008296/0.3059, allocations: 0.5705 MB / 0.9373 GB, free: 25.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.352e-05/0.306, allocations: 33.7 kB / 0.9373 GB, free: 25.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002436/0.3062, allocations: 328.4 kB / 0.9376 GB, free: 25.23 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.3064, allocations: 126.1 kB / 0.9377 GB, free: 25.11 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.45e-05/0.3064, allocations: 12 kB / 0.9378 GB, free: 25.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3066, allocations: 374.7 kB / 0.9381 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007872/0.3073, allocations: 221.2 kB / 0.9383 GB, free: 24.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000885/0.3082, allocations: 376 kB / 0.9387 GB, free: 24.08 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009368/0.3092, allocations: 252.7 kB / 0.9389 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3092, allocations: 0 / 0.9389 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002321/0.3116, allocations: 0.7262 MB / 0.9396 GB, free: 23.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003675/0.312, allocations: 1.744 MB / 0.9413 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.422e-05/0.312, allocations: 8 kB / 0.9413 GB, free: 21.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.313, allocations: 152.8 kB / 0.9415 GB, free: 21.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.3142, allocations: 155.8 kB / 0.9416 GB, free: 20.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008571/0.3151, allocations: 0.6304 MB / 0.9423 GB, free: 20.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001045/0.3162, allocations: 107.2 kB / 0.9424 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.291e-05/0.3163, allocations: 35.98 kB / 0.9424 GB, free: 20.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.3163, allocations: 4 kB / 0.9424 GB, free: 20.1 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/0.3183, allocations: 0.6191 MB / 0.943 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3183, allocations: 4 kB / 0.943 GB, free: 19.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3183, allocations: 8 kB / 0.943 GB, free: 19.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.3194, allocations: 167.7 kB / 0.9432 GB, free: 19.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.3195, allocations: 12.3 kB / 0.9432 GB, free: 19.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009539/0.3204, allocations: 95.55 kB / 0.9433 GB, free: 19.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.3205, allocations: 31.98 kB / 0.9433 GB, free: 19.17 MB / 0.6042 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.0003933/0.3209, allocations: 268.9 kB / 0.9436 GB, free: 18.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.3211, allocations: 67.16 kB / 0.9436 GB, free: 18.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002229/0.3233, allocations: 0.6615 MB / 0.9443 GB, free: 18.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.278e-05/0.3233, allocations: 4 kB / 0.9443 GB, free: 18.15 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.3234, allocations: 4 kB / 0.9443 GB, free: 18.15 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3234, allocations: 7.922 kB / 0.9443 GB, free: 18.14 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003525/0.3269, allocations: 1.405 MB / 0.9457 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.3269, allocations: 0 / 0.9457 GB, free: 16.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006479/0.3276, allocations: 95.97 kB / 0.9458 GB, free: 16.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006412/0.3283, allocations: 124.8 kB / 0.9459 GB, free: 16.44 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.742e-05/0.3283, allocations: 15.98 kB / 0.9459 GB, free: 16.43 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008316/0.3292, allocations: 0.6342 MB / 0.9465 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.3292, allocations: 3.984 kB / 0.9465 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00209/0.3313, allocations: 0.7606 MB / 0.9473 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.3317, allocations: 196.1 kB / 0.9474 GB, free: 14.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.3318, allocations: 11.94 kB / 0.9475 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000773/0.3326, allocations: 51.95 kB / 0.9475 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.3327, allocations: 31.95 kB / 0.9475 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/0.3328, allocations: 15.98 kB / 0.9475 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005973/0.3334, allocations: 395.1 kB / 0.9479 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/0.3334, allocations: 0 / 0.9479 GB, free: 14.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001517/0.335, allocations: 387.3 kB / 0.9483 GB, free: 13.88 MB / 0.6042 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.0008632/0.3358, allocations: 301.2 kB / 0.9486 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00334/0.3392, allocations: 0.9093 MB / 0.9495 GB, free: 12.68 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.3393, allocations: 4 kB / 0.9495 GB, free: 12.67 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3405, allocations: 300.3 kB / 0.9498 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.343, allocations: 275.3 kB / 0.95 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.3456, allocations: 1.273 MB / 0.9513 GB, free: 10.8 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.3461, allocations: 0.9271 MB / 0.9522 GB, free: 9.848 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001059/0.3471, allocations: 145.9 kB / 0.9523 GB, free: 9.711 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.3474, allocations: 63.41 kB / 0.9524 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of SimCode: time 1.593e-06/0.3474, allocations: 0 / 0.9524 GB, free: 9.648 MB / 0.6042 GB Notification: Performance of Templates: time 0.03432/0.3818, allocations: 11.81 MB / 0.9639 GB, free: 13.98 MB / 0.6198 GB