Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.54/5.54, allocations: 0.5623 GB / 0.5776 GB, free: 3.332 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.002502/0.002502, allocations: 363.3 kB / 0.6447 GB, free: 185.7 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.072/4.072, allocations: 410.7 MB / 1.113 GB, free: 147.8 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.001815/0.001815, allocations: 191.6 kB / 1.226 GB, free: 35.94 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005087, allocations: 18.06 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.2 MB / 1.461 GB, free: 6.648 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.0336/0.2517, allocations: 19.03 MB / 1.48 GB, free: 3.555 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01258/0.2644, allocations: 4.292 MB / 1.484 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009948/0.2654, allocations: 15.88 kB / 1.484 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.267, allocations: 242.4 kB / 1.484 GB, free: 15 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.2717, allocations: 0.8078 MB / 1.485 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004668/0.2764, allocations: 0.7646 MB / 1.486 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003982/0.2804, allocations: 1.551 MB / 1.487 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0013/0.2818, allocations: 347.1 kB / 1.488 GB, free: 11.55 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001949/0.2838, allocations: 485.8 kB / 1.488 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.2854, allocations: 426.2 kB / 1.489 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/0.2857, allocations: 24 kB / 1.489 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00198/0.2877, allocations: 359.2 kB / 1.489 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002924/0.288, allocations: 103.5 kB / 1.489 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003597/0.2884, allocations: 125.4 kB / 1.489 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001622/0.29, allocations: 0.5182 MB / 1.49 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.2901, allocations: 3.938 kB / 1.49 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/0.2901, allocations: 0 / 1.49 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.2901, allocations: 0 / 1.49 GB, free: 9.523 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.003051/0.2932, allocations: 0.8174 MB / 1.49 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.228e-05/0.2933, allocations: 12.03 kB / 1.491 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002805/0.2936, allocations: 63.25 kB / 1.491 GB, free: 8.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.2949, allocations: 438.9 kB / 1.491 GB, free: 8.113 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.295, allocations: 24.66 kB / 1.491 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001279/0.2952, allocations: 36 kB / 1.491 GB, free: 8.055 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001443/0.2966, allocations: 321.9 kB / 1.491 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.2967, allocations: 0 / 1.491 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.961e-05/0.2967, allocations: 12 kB / 1.491 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.2968, allocations: 4 kB / 1.491 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2983, allocations: 282.4 kB / 1.492 GB, free: 7.441 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.004941/0.3033, allocations: 1.356 MB / 1.493 GB, free: 5.961 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3046, allocations: 262.3 kB / 1.493 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007634/0.3054, allocations: 152.8 kB / 1.493 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007733/0.3062, allocations: 0.4947 MB / 1.494 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.501e-05/0.3063, allocations: 38.5 kB / 1.494 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=25): time 3.848e-06/0.3063, allocations: 4 kB / 1.494 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25): time 0.004123/0.3104, allocations: 0.5786 MB / 1.494 GB, free: 4.285 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.3105, allocations: 55.41 kB / 1.494 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.3116, allocations: 462.1 kB / 1.495 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.3118, allocations: 33.7 kB / 1.495 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003357/0.3121, allocations: 252.4 kB / 1.495 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.3123, allocations: 82.97 kB / 1.495 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.411e-05/0.3123, allocations: 11.94 kB / 1.495 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002416/0.3126, allocations: 362.7 kB / 1.496 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.3134, allocations: 123.9 kB / 1.496 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008558/0.3143, allocations: 181.9 kB / 1.496 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008066/0.3151, allocations: 148.9 kB / 1.496 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.3151, allocations: 0 / 1.496 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002418/0.3176, allocations: 417.4 kB / 1.496 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.3177, allocations: 117.6 kB / 1.497 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.3177, allocations: 80 / 1.497 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006476/0.3184, allocations: 64.69 kB / 1.497 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009274/0.3194, allocations: 79.88 kB / 1.497 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008328/0.3202, allocations: 0.5679 MB / 1.497 GB, free: 1.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3215, allocations: 63.83 kB / 1.497 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.3217, allocations: 19.98 kB / 1.497 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.3217, allocations: 4 kB / 1.497 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001728/0.3234, allocations: 319.7 kB / 1.498 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.3235, allocations: 0 / 1.498 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.3235, allocations: 0 / 1.498 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007963/0.3243, allocations: 83.89 kB / 1.498 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/0.3243, allocations: 7.984 kB / 1.498 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009406/0.3253, allocations: 67.66 kB / 1.498 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.426e-05/0.3254, allocations: 12 kB / 1.498 GB, free: 0.7031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * 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: 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.0004005/0.3258, allocations: 249 kB / 1.498 GB, free: 460 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/0.3259, allocations: 43.44 kB / 1.498 GB, free: 416 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/0.3277, allocations: 451.9 kB / 1.499 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.3278, allocations: 0 / 1.499 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3278, allocations: 0 / 1.499 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003516/0.3281, allocations: 160.3 kB / 1.499 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.3283, allocations: 11.92 kB / 1.499 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.3289, allocations: 39.97 kB / 1.499 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.715e-05/0.329, allocations: 20.2 kB / 1.499 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001923/0.331, allocations: 489.4 kB / 1.499 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002137/0.3332, allocations: 0.7127 MB / 1.5 GB, free: 14.49 MB / 0.6511 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005621/0.3338, allocations: 141.8 kB / 1.5 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005989/0.3344, allocations: 322.9 kB / 1.5 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of Backend: time 7.31e-07/0.3344, allocations: 0 / 1.5 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.3373, allocations: 0.5887 MB / 1.501 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of SimCode: time 0.004295/0.3417, allocations: 1.56 MB / 1.502 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of Templates: time 0.03271/0.3744, allocations: 10.48 MB / 1.513 GB, free: 1.535 MB / 0.6511 GB