Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 182.8 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7094/0.7094, allocations: 132.2 MB / 148.9 MB, free: 12.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 222.9 MB / 403.4 MB, free: 7.055 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 108.5 kB / 484.4 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 51.92 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1228, allocations: 80.2 MB / 0.6402 GB, free: 6.797 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01597/0.1388, allocations: 15.02 MB / 0.6548 GB, free: 7.707 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.005311/0.1442, allocations: 3.913 MB / 0.6586 GB, free: 3.785 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005077/0.1447, allocations: 23.88 kB / 0.6587 GB, free: 3.762 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005777/0.1453, allocations: 159.1 kB / 0.6588 GB, free: 3.605 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001489/0.1468, allocations: 0.6118 MB / 0.6594 GB, free: 2.992 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.148, allocations: 426.8 kB / 0.6598 GB, free: 2.582 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001669/0.1497, allocations: 1.376 MB / 0.6612 GB, free: 1.203 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004072/0.1501, allocations: 241.1 kB / 0.6614 GB, free: 0.9609 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.1508, allocations: 374.3 kB / 0.6618 GB, free: 0.5938 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002984/0.1511, allocations: 274.8 kB / 0.662 GB, free: 332 kB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 3.79e-05/0.1512, allocations: 12 kB / 0.662 GB, free: 320 kB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.1523, allocations: 0.7016 MB / 0.6627 GB, free: 15.61 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.161e-05/0.1524, allocations: 63.69 kB / 0.6628 GB, free: 15.55 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000179/0.1526, allocations: 179 kB / 0.6629 GB, free: 15.37 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009432/0.1536, allocations: 0.6973 MB / 0.6636 GB, free: 14.67 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.1536, allocations: 11.92 kB / 0.6636 GB, free: 14.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1536, allocations: 0 / 0.6636 GB, free: 14.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1536, allocations: 0 / 0.6636 GB, free: 14.66 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001143/0.1548, allocations: 0.7436 MB / 0.6644 GB, free: 13.87 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1548, allocations: 8.031 kB / 0.6644 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.74e-05/0.1549, allocations: 44.38 kB / 0.6644 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009015/0.1558, allocations: 0.4895 MB / 0.6649 GB, free: 13.29 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.1559, allocations: 12.33 kB / 0.6649 GB, free: 13.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.549e-05/0.1559, allocations: 24 kB / 0.6649 GB, free: 13.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003785/0.1563, allocations: 185.4 kB / 0.6651 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.1563, allocations: 0 / 0.6651 GB, free: 13.07 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/0.1563, allocations: 11.98 kB / 0.6651 GB, free: 13.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.1563, allocations: 11.92 kB / 0.6651 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003237/0.1567, allocations: 139.8 kB / 0.6653 GB, free: 12.91 MB / 474.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.001077/0.1578, allocations: 0.8489 MB / 0.6661 GB, free: 11.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.158, allocations: 118.6 kB / 0.6662 GB, free: 11.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001568/0.1582, allocations: 76.81 kB / 0.6663 GB, free: 11.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003403/0.1585, allocations: 344.3 kB / 0.6666 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.1586, allocations: 30.56 kB / 0.6666 GB, free: 11.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=12): time 1.653e-06/0.1586, allocations: 0 / 0.6666 GB, free: 11.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005321/0.1591, allocations: 221 kB / 0.6668 GB, free: 11.08 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.097e-05/0.1592, allocations: 59.41 kB / 0.6669 GB, free: 11.01 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.1595, allocations: 341.7 kB / 0.6672 GB, free: 10.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/0.1595, allocations: 37.69 kB / 0.6673 GB, free: 10.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001285/0.1596, allocations: 192.2 kB / 0.6674 GB, free: 10.43 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.61e-05/0.1597, allocations: 35.45 kB / 0.6675 GB, free: 10.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.998e-05/0.1598, allocations: 33.72 kB / 0.6675 GB, free: 10.36 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.1599, allocations: 346.7 kB / 0.6678 GB, free: 10.01 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.16, allocations: 56.81 kB / 0.6679 GB, free: 9.953 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.1602, allocations: 84.69 kB / 0.668 GB, free: 9.855 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.1605, allocations: 117.6 kB / 0.6681 GB, free: 9.734 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1605, allocations: 0 / 0.6681 GB, free: 9.734 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003783/0.1609, allocations: 185.1 kB / 0.6683 GB, free: 9.547 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.1609, allocations: 4 kB / 0.6683 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1609, allocations: 0 / 0.6683 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.1609, allocations: 0 / 0.6683 GB, free: 9.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.1611, allocations: 23.98 kB / 0.6683 GB, free: 9.52 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.1611, allocations: 7.938 kB / 0.6683 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/0.1614, allocations: 35.86 kB / 0.6683 GB, free: 9.477 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1614, allocations: 7.984 kB / 0.6683 GB, free: 9.469 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002132/0.1616, allocations: 156.1 kB / 0.6685 GB, free: 9.312 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000165/0.1618, allocations: 88.34 kB / 0.6686 GB, free: 9.211 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000249/0.162, allocations: 121.6 kB / 0.6687 GB, free: 9.086 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.162, allocations: 96 / 0.6687 GB, free: 9.086 MB / 474.7 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003627/0.1624, allocations: 173.1 kB / 0.6689 GB, free: 8.91 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/0.1624, allocations: 9.5 kB / 0.6689 GB, free: 8.902 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-06/0.1624, allocations: 4 kB / 0.6689 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-06/0.1625, allocations: 0 / 0.6689 GB, free: 8.898 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1626, allocations: 23.98 kB / 0.6689 GB, free: 8.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.1626, allocations: 4 kB / 0.6689 GB, free: 8.871 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.1628, allocations: 28 kB / 0.6689 GB, free: 8.844 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.1628, allocations: 8 kB / 0.6689 GB, free: 8.836 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.1629, allocations: 188.2 kB / 0.6691 GB, free: 8.645 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/0.163, allocations: 35.56 kB / 0.6691 GB, free: 8.609 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.1635, allocations: 228.6 kB / 0.6694 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1635, allocations: 0 / 0.6694 GB, free: 8.379 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1635, allocations: 3.984 kB / 0.6694 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.1635, allocations: 0 / 0.6694 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009432/0.1645, allocations: 0.6373 MB / 0.67 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1645, allocations: 0 / 0.67 GB, free: 7.672 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.1646, allocations: 23.98 kB / 0.67 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1646, allocations: 0 / 0.67 GB, free: 7.648 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.1646, allocations: 4.094 kB / 0.67 GB, free: 7.645 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.1646, allocations: 3.938 kB / 0.67 GB, free: 7.641 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1647, allocations: 3.938 kB / 0.67 GB, free: 7.637 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008694/0.1655, allocations: 1.005 MB / 0.671 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1657, allocations: 124.6 kB / 0.6711 GB, free: 6.426 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.1657, allocations: 11.94 kB / 0.6711 GB, free: 6.414 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.166, allocations: 23.97 kB / 0.6712 GB, free: 6.391 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.166, allocations: 7.984 kB / 0.6712 GB, free: 6.383 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.166, allocations: 8 kB / 0.6712 GB, free: 6.375 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.1663, allocations: 243.2 kB / 0.6714 GB, free: 6.141 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1663, allocations: 4 kB / 0.6714 GB, free: 6.137 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008407/0.1671, allocations: 199.6 kB / 0.6716 GB, free: 5.941 MB / 474.7 MB 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 (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005939/0.1677, allocations: 245.1 kB / 0.6718 GB, free: 5.699 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0005236/0.1683, allocations: 183.8 kB / 0.672 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.1683, allocations: 0 / 0.672 GB, free: 5.52 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001771/0.1685, allocations: 79.89 kB / 0.6721 GB, free: 5.441 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008456/0.1693, allocations: 154.7 kB / 0.6722 GB, free: 5.297 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.1704, allocations: 0.8216 MB / 0.673 GB, free: 4.426 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.1708, allocations: 0.796 MB / 0.6738 GB, free: 3.602 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.171, allocations: 75.06 kB / 0.6739 GB, free: 3.531 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.1711, allocations: 27.44 kB / 0.6739 GB, free: 3.504 MB / 474.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1711, allocations: 3.938 kB / 0.6739 GB, free: 3.5 MB / 474.7 MB Notification: Performance of Templates: time 0.01394/0.1851, allocations: 6.412 MB / 0.6802 GB, free: 13.17 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)