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 4.609/4.609, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002432/0.002431, allocations: 362.2 kB / 0.644 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.872/3.872, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001757/0.001756, allocations: 197.7 kB / 1.225 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000488/0.0004883, allocations: 12 kB / 1.348 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.572/0.5725, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01778/0.5903, allocations: 19.03 MB / 1.479 GB, free: 265.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.005973/0.5963, allocations: 4.292 MB / 1.484 GB, free: 261.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006123/0.597, allocations: 15.88 kB / 1.484 GB, free: 261 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007168/0.5977, allocations: 244 kB / 1.484 GB, free: 260.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002214/0.5999, allocations: 0.8034 MB / 1.485 GB, free: 260 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00238/0.6023, allocations: 0.776 MB / 1.485 GB, free: 259.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001583/0.6039, allocations: 1.539 MB / 1.487 GB, free: 257.7 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004795/0.6044, allocations: 343.4 kB / 1.487 GB, free: 257.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007119/0.6052, allocations: 487.1 kB / 1.488 GB, free: 256.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.6057, allocations: 421.8 kB / 1.488 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.6058, allocations: 20 kB / 1.488 GB, free: 256.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009001/0.6067, allocations: 371.8 kB / 1.488 GB, free: 256.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.6068, allocations: 100.1 kB / 1.488 GB, free: 256 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001148/0.607, allocations: 125.4 kB / 1.489 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006003/0.6076, allocations: 0.5193 MB / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.547e-06/0.6076, allocations: 0 / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.122e-06/0.6076, allocations: 0 / 1.489 GB, free: 255.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.6076, allocations: 0.6562 kB / 1.489 GB, free: 255.4 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001351/0.609, allocations: 0.8246 MB / 1.49 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.609, allocations: 19.61 kB / 1.49 GB, free: 254.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.6092, allocations: 63.25 kB / 1.49 GB, free: 254.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006114/0.6098, allocations: 427 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.797e-05/0.6098, allocations: 24.66 kB / 1.49 GB, free: 254 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.193e-05/0.6099, allocations: 32 kB / 1.49 GB, free: 253.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.6106, allocations: 321.6 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6107, allocations: 0 / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.6107, allocations: 12 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.982e-06/0.6107, allocations: 8 kB / 1.491 GB, free: 253.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007431/0.6115, allocations: 278.3 kB / 1.491 GB, free: 253.3 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.002193/0.6137, allocations: 1.356 MB / 1.492 GB, free: 251.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005991/0.6143, allocations: 273.5 kB / 1.493 GB, free: 251.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003507/0.6147, allocations: 142.9 kB / 1.493 GB, free: 251.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003482/0.6151, allocations: 0.4968 MB / 1.493 GB, free: 250.9 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.12e-05/0.6151, allocations: 34.5 kB / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=25): time 2.73e-06/0.6151, allocations: 0 / 1.493 GB, free: 250.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=25): time 0.001913/0.617, allocations: 0.5912 MB / 1.494 GB, free: 250.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.6171, allocations: 51.41 kB / 1.494 GB, free: 250.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/0.6176, allocations: 463.2 kB / 1.494 GB, free: 249.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.6177, allocations: 37.7 kB / 1.494 GB, free: 249.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001514/0.6178, allocations: 248.4 kB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.375e-05/0.6179, allocations: 87.33 kB / 1.495 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.6179, allocations: 9.344 kB / 1.495 GB, free: 249.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.618, allocations: 358.7 kB / 1.495 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003699/0.6184, allocations: 122.6 kB / 1.495 GB, free: 248.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.6188, allocations: 189.6 kB / 1.495 GB, free: 248.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003942/0.6192, allocations: 144.4 kB / 1.495 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.334e-06/0.6193, allocations: 0 / 1.495 GB, free: 248.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001164/0.6204, allocations: 435.4 kB / 1.496 GB, free: 248.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.6205, allocations: 109.1 kB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.219e-06/0.6205, allocations: 4 kB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.6209, allocations: 57.38 kB / 1.496 GB, free: 247.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004376/0.6214, allocations: 77.48 kB / 1.496 GB, free: 247.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003786/0.6218, allocations: 0.5579 MB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.6224, allocations: 74.92 kB / 1.497 GB, free: 247.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.6224, allocations: 12 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.202e-06/0.6224, allocations: 4 kB / 1.497 GB, free: 247.1 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008557/0.6233, allocations: 321.5 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.734e-06/0.6233, allocations: 0 / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.95e-06/0.6233, allocations: 4 kB / 1.497 GB, free: 246.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004782/0.6238, allocations: 91.88 kB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.6239, allocations: 3.953 kB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000521/0.6244, allocations: 58.17 kB / 1.497 GB, free: 246.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.344e-05/0.6244, allocations: 19.98 kB / 1.497 GB, free: 246.7 MB / 0.8542 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.0002448/0.6247, allocations: 241 kB / 1.497 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.309e-05/0.6248, allocations: 53.81 kB / 1.498 GB, free: 246.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001104/0.6259, allocations: 439.9 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.626, allocations: 7.938 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.517e-06/0.626, allocations: 3.953 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-06/0.626, allocations: 4.516 kB / 1.498 GB, free: 245.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001684/0.6277, allocations: 0.9614 MB / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.487e-06/0.6277, allocations: 0 / 1.499 GB, free: 244.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002935/0.628, allocations: 53.27 kB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000217/0.6282, allocations: 53.83 kB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.6283, allocations: 12.83 kB / 1.499 GB, free: 244.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003146/0.6286, allocations: 0.5531 MB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.192e-06/0.6286, allocations: 4.906 kB / 1.5 GB, free: 244.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009023/0.6296, allocations: 0.51 MB / 1.5 GB, free: 243.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.6298, allocations: 156.4 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.6299, allocations: 4 kB / 1.5 GB, free: 243.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004742/0.6303, allocations: 47.98 kB / 1.5 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.654e-05/0.6304, allocations: 24.53 kB / 1.5 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.6305, allocations: 16.55 kB / 1.5 GB, free: 243.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003836/0.6309, allocations: 312.8 kB / 1.501 GB, free: 243.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.9e-07/0.6309, allocations: 0 / 1.501 GB, free: 243.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000876/0.6318, allocations: 259.5 kB / 1.501 GB, free: 242.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0005214/0.6323, allocations: 246.3 kB / 1.501 GB, free: 242.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001374/0.6337, allocations: 482.9 kB / 1.502 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.741e-06/0.6337, allocations: 0 / 1.502 GB, free: 242.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0005104/0.6343, allocations: 178.1 kB / 1.502 GB, free: 242 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/0.6359, allocations: 253.2 kB / 1.502 GB, free: 241.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.6375, allocations: 0.9807 MB / 1.503 GB, free: 240.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.6379, allocations: 0.8639 MB / 1.504 GB, free: 239.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005984/0.6385, allocations: 118 kB / 1.504 GB, free: 239.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6386, allocations: 39.44 kB / 1.504 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.961e-06/0.6386, allocations: 1.5 kB / 1.504 GB, free: 239.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.02079/0.6594, allocations: 9.595 MB / 1.513 GB, free: 230.6 MB / 0.8542 GB