Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002966/0.002971, allocations: 358.4 kB / 16.59 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.448/1.448, allocations: 165.8 MB / 183.1 MB, free: 5.461 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.341/4.341, allocations: 410.8 MB / 0.6001 GB, free: 15.05 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001791/0.00179, allocations: 191.3 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004739, allocations: 12 kB / 0.7429 GB, free: 8.938 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4769, allocations: 67.43 MB / 0.8087 GB, free: 28.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02362/0.5006, allocations: 19.01 MB / 0.8273 GB, free: 9.691 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007566/0.5083, allocations: 4.295 MB / 0.8315 GB, free: 5.387 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007429/0.509, allocations: 15.88 kB / 0.8315 GB, free: 5.371 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009923/0.5101, allocations: 234.5 kB / 0.8317 GB, free: 5.141 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003025/0.5131, allocations: 0.8106 MB / 0.8325 GB, free: 4.328 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002987/0.5161, allocations: 0.7707 MB / 0.8333 GB, free: 3.578 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.5184, allocations: 1.559 MB / 0.8348 GB, free: 2.016 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007044/0.5191, allocations: 341 kB / 0.8351 GB, free: 1.676 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.5202, allocations: 489.8 kB / 0.8356 GB, free: 1.195 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/0.5209, allocations: 430.2 kB / 0.836 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.963e-05/0.521, allocations: 20 kB / 0.836 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001134/0.5222, allocations: 363.1 kB / 0.8364 GB, free: 408 kB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.5223, allocations: 99.58 kB / 0.8365 GB, free: 308 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001557/0.5225, allocations: 125.4 kB / 0.8366 GB, free: 176 kB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009825/0.5235, allocations: 0.5183 MB / 0.8371 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5235, allocations: 0 / 0.8371 GB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5235, allocations: 4 kB / 0.8371 GB, free: 15.65 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.5235, allocations: 0 / 0.8371 GB, free: 15.65 MB / 394.7 MB 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.00223/0.5258, allocations: 0.8252 MB / 0.8379 GB, free: 14.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.5258, allocations: 8.031 kB / 0.8379 GB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.526, allocations: 63.25 kB / 0.838 GB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009701/0.527, allocations: 427 kB / 0.8384 GB, free: 14.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.864e-05/0.5271, allocations: 24.66 kB / 0.8384 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.5272, allocations: 36 kB / 0.8384 GB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.5283, allocations: 321.9 kB / 0.8387 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.5283, allocations: 0 / 0.8387 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.5284, allocations: 12 kB / 0.8388 GB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.5285, allocations: 8 kB / 0.8388 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001177/0.5296, allocations: 282.4 kB / 0.839 GB, free: 13.57 MB / 394.7 MB 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.003751/0.5334, allocations: 1.356 MB / 0.8404 GB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000894/0.5343, allocations: 262.5 kB / 0.8406 GB, free: 11.83 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005784/0.5349, allocations: 148.7 kB / 0.8407 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006004/0.5355, allocations: 0.4908 MB / 0.8412 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.5356, allocations: 46.55 kB / 0.8413 GB, free: 11.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.286e-06/0.5356, allocations: 0 / 0.8413 GB, free: 11.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.003075/0.5387, allocations: 0.5864 MB / 0.8418 GB, free: 10.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.5388, allocations: 55.41 kB / 0.8419 GB, free: 10.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008471/0.5397, allocations: 473.9 kB / 0.8423 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.5397, allocations: 33.7 kB / 0.8424 GB, free: 9.832 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.54, allocations: 244.5 kB / 0.8426 GB, free: 9.59 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.5402, allocations: 74.77 kB / 0.8427 GB, free: 9.516 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.5402, allocations: 8 kB / 0.8427 GB, free: 9.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001955/0.5404, allocations: 354.8 kB / 0.843 GB, free: 9.152 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/0.541, allocations: 131.9 kB / 0.8432 GB, free: 9.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006497/0.5417, allocations: 189.2 kB / 0.8433 GB, free: 8.82 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005998/0.5423, allocations: 134.4 kB / 0.8435 GB, free: 8.691 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.5423, allocations: 0 / 0.8435 GB, free: 8.691 MB / 394.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001809/0.5441, allocations: 435.1 kB / 0.8439 GB, free: 8.258 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.762e-05/0.5442, allocations: 106.7 kB / 0.844 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5443, allocations: 4 kB / 0.844 GB, free: 8.137 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.5448, allocations: 48.81 kB / 0.844 GB, free: 8.086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006735/0.5454, allocations: 79.89 kB / 0.8441 GB, free: 8.008 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006113/0.5461, allocations: 0.5639 MB / 0.8447 GB, free: 7.418 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.547, allocations: 71.8 kB / 0.8447 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-05/0.5471, allocations: 11.98 kB / 0.8447 GB, free: 7.336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.5471, allocations: 4 kB / 0.8447 GB, free: 7.332 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001322/0.5484, allocations: 327.1 kB / 0.8451 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5484, allocations: 0 / 0.8451 GB, free: 7.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.787e-06/0.5485, allocations: 4 kB / 0.8451 GB, free: 7.012 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007375/0.5492, allocations: 83.89 kB / 0.8451 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.5492, allocations: 0 / 0.8451 GB, free: 6.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008291/0.5501, allocations: 71.62 kB / 0.8452 GB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.5501, allocations: 12 kB / 0.8452 GB, free: 6.848 MB / 394.7 MB 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.0003738/0.5505, allocations: 245 kB / 0.8455 GB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.5507, allocations: 55.31 kB / 0.8455 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001699/0.5524, allocations: 455.9 kB / 0.8459 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5524, allocations: 0 / 0.8459 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.5524, allocations: 0 / 0.8459 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/0.5527, allocations: 156.3 kB / 0.8461 GB, free: 5.918 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.411e-05/0.5528, allocations: 8 kB / 0.8461 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006424/0.5535, allocations: 43.95 kB / 0.8461 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.639e-05/0.5536, allocations: 20.2 kB / 0.8462 GB, free: 5.848 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00189/0.5555, allocations: 481.4 kB / 0.8466 GB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002048/0.5575, allocations: 0.7145 MB / 0.8473 GB, free: 4.637 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000578/0.5581, allocations: 148 kB / 0.8475 GB, free: 4.492 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006239/0.5588, allocations: 318.9 kB / 0.8478 GB, free: 4.184 MB / 394.7 MB Notification: Performance of Backend: time 6.11e-07/0.5588, allocations: 0 / 0.8478 GB, free: 4.184 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002715/0.5615, allocations: 0.5856 MB / 0.8483 GB, free: 3.598 MB / 394.7 MB Notification: Performance of SimCode: time 0.003992/0.5655, allocations: 1.563 MB / 0.8499 GB, free: 1.988 MB / 394.7 MB Notification: Performance of Templates: time 0.03165/0.5972, allocations: 10.47 MB / 0.8601 GB, free: 7.656 MB / 410.7 MB