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.001407/0.001407, allocations: 187.7 kB / 15.77 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.7494/0.7494, allocations: 82.93 MB / 99.42 MB, free: 3.328 MB / 74.72 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.235/2.235, allocations: 205.4 MB / 325.4 MB, free: 3.332 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001561/0.001561, allocations: 90.81 kB / 393.6 MB, free: 15.11 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000455/0.0004553, allocations: 12 kB / 471.5 MB, free: 66.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09217/0.09266, allocations: 67.46 MB / 0.5264 GB, free: 15.06 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.CheckValve): time 0.02587/0.1186, allocations: 17.39 MB / 0.5433 GB, free: 13.61 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007664/0.1263, allocations: 3.981 MB / 0.5472 GB, free: 9.625 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006824/0.127, allocations: 15.88 kB / 0.5472 GB, free: 9.609 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009468/0.1279, allocations: 258.7 kB / 0.5475 GB, free: 9.355 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.1309, allocations: 0.7906 MB / 0.5483 GB, free: 8.562 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003042/0.1339, allocations: 0.7686 MB / 0.549 GB, free: 7.809 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001853/0.1358, allocations: 0.8357 MB / 0.5498 GB, free: 6.973 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006964/0.1365, allocations: 351.2 kB / 0.5502 GB, free: 6.621 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001066/0.1376, allocations: 478.4 kB / 0.5506 GB, free: 6.152 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006131/0.1382, allocations: 318.7 kB / 0.5509 GB, free: 5.84 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1384, allocations: 20 kB / 0.5509 GB, free: 5.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00134/0.1397, allocations: 399.4 kB / 0.5513 GB, free: 5.43 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.1399, allocations: 99.56 kB / 0.5514 GB, free: 5.332 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002485/0.1402, allocations: 125.5 kB / 0.5515 GB, free: 5.203 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001005/0.1412, allocations: 0.5182 MB / 0.552 GB, free: 4.684 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.964e-06/0.1412, allocations: 0 / 0.552 GB, free: 4.684 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.486e-06/0.1412, allocations: 0 / 0.552 GB, free: 4.684 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.966e-06/0.1413, allocations: 0 / 0.552 GB, free: 4.684 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.001734/0.143, allocations: 0.8147 MB / 0.5528 GB, free: 3.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1431, allocations: 8.031 kB / 0.5528 GB, free: 3.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000154/0.1432, allocations: 63.25 kB / 0.5529 GB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008689/0.1441, allocations: 438.8 kB / 0.5533 GB, free: 3.281 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.812e-05/0.1442, allocations: 28.66 kB / 0.5533 GB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.623e-05/0.1443, allocations: 36 kB / 0.5534 GB, free: 3.219 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008967/0.1452, allocations: 321.9 kB / 0.5537 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.1452, allocations: 0 / 0.5537 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.453e-05/0.1453, allocations: 12 kB / 0.5537 GB, free: 2.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.1453, allocations: 8 kB / 0.5537 GB, free: 2.875 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008878/0.1462, allocations: 278.4 kB / 0.554 GB, free: 2.605 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.003102/0.1493, allocations: 1.356 MB / 0.5553 GB, free: 1.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1504, allocations: 290.2 kB / 0.5556 GB, free: 0.8398 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008437/0.1513, allocations: 0.4986 MB / 0.5561 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.1513, allocations: 38.56 kB / 0.5561 GB, free: 188 kB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.927e-06/0.1514, allocations: 4 kB / 0.5561 GB, free: 184 kB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.00399/0.1554, allocations: 0.5812 MB / 0.5567 GB, free: 15.57 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.1555, allocations: 55.39 kB / 0.5567 GB, free: 15.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/0.1567, allocations: 454.2 kB / 0.5572 GB, free: 15.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.1568, allocations: 37.7 kB / 0.5572 GB, free: 15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/0.1572, allocations: 248.4 kB / 0.5574 GB, free: 14.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/0.1574, allocations: 86.66 kB / 0.5575 GB, free: 14.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.1575, allocations: 4 kB / 0.5575 GB, free: 14.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003108/0.1578, allocations: 354.8 kB / 0.5579 GB, free: 14.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.1586, allocations: 135.8 kB / 0.558 GB, free: 14.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.1594, allocations: 177.2 kB / 0.5581 GB, free: 13.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.1603, allocations: 140.9 kB / 0.5583 GB, free: 13.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.979e-06/0.1603, allocations: 0 / 0.5583 GB, free: 13.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002433/0.1627, allocations: 434 kB / 0.5587 GB, free: 13.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002266/0.163, allocations: 271 kB / 0.559 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.163, allocations: 3.938 kB / 0.559 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006095/0.1637, allocations: 52.81 kB / 0.559 GB, free: 13.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008873/0.1646, allocations: 79.88 kB / 0.5591 GB, free: 13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008157/0.1654, allocations: 0.5679 MB / 0.5596 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006985/0.1662, allocations: 63.73 kB / 0.5597 GB, free: 12.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.194e-05/0.1662, allocations: 19.98 kB / 0.5597 GB, free: 12.33 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1663, allocations: 4 kB / 0.5597 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/0.1673, allocations: 319.6 kB / 0.56 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.63e-06/0.1673, allocations: 0 / 0.56 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.998e-06/0.1674, allocations: 0 / 0.56 GB, free: 12.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.1679, allocations: 87.88 kB / 0.5601 GB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.1679, allocations: 4 kB / 0.5601 GB, free: 11.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006372/0.1686, allocations: 63.7 kB / 0.5602 GB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.181e-05/0.1687, allocations: 15.95 kB / 0.5602 GB, free: 11.84 MB / 410.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.0003775/0.169, allocations: 245 kB / 0.5604 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1692, allocations: 43.58 kB / 0.5605 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.1705, allocations: 467.8 kB / 0.5609 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1706, allocations: 0 / 0.5609 GB, free: 11.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-06/0.1706, allocations: 4 kB / 0.5609 GB, free: 11.08 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.1706, allocations: 7.938 kB / 0.5609 GB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/0.1728, allocations: 0.9607 MB / 0.5619 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.556e-06/0.1729, allocations: 4 kB / 0.5619 GB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.1732, allocations: 51.91 kB / 0.5619 GB, free: 9.988 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002495/0.1735, allocations: 36.95 kB / 0.562 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.573e-05/0.1735, allocations: 15.95 kB / 0.562 GB, free: 9.934 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000539/0.1741, allocations: 0.5602 MB / 0.5625 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.858e-06/0.1741, allocations: 0 / 0.5625 GB, free: 9.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.1753, allocations: 0.5526 MB / 0.5631 GB, free: 8.738 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002805/0.1756, allocations: 160.3 kB / 0.5632 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.931e-05/0.1758, allocations: 15.95 kB / 0.5632 GB, free: 8.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005016/0.1763, allocations: 47.89 kB / 0.5633 GB, free: 8.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/0.1764, allocations: 19.97 kB / 0.5633 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/0.1764, allocations: 8 kB / 0.5633 GB, free: 8.473 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005357/0.177, allocations: 326.9 kB / 0.5636 GB, free: 8.156 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.177, allocations: 3.938 kB / 0.5636 GB, free: 8.152 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001027/0.178, allocations: 243.5 kB / 0.5638 GB, free: 7.914 MB / 410.7 MB 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.0006155/0.1787, allocations: 247.7 kB / 0.5641 GB, free: 7.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.1804, allocations: 484.5 kB / 0.5645 GB, free: 7.195 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.325e-06/0.1804, allocations: 3.938 kB / 0.5645 GB, free: 7.191 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.181, allocations: 171.3 kB / 0.5647 GB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.1827, allocations: 250.6 kB / 0.5649 GB, free: 6.785 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002096/0.1848, allocations: 0.979 MB / 0.5659 GB, free: 5.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.1855, allocations: 0.8707 MB / 0.5668 GB, free: 4.871 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006761/0.1861, allocations: 116.2 kB / 0.5669 GB, free: 4.758 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/0.1863, allocations: 43.42 kB / 0.5669 GB, free: 4.715 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.1863, allocations: 0 / 0.5669 GB, free: 4.715 MB / 410.7 MB Notification: Performance of Templates: time 0.02532/0.2116, allocations: 9.577 MB / 0.5763 GB, free: 11.26 MB / 426.7 MB