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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 111.3 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 187.9 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8034/0.8034, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.94 kB / 0.582 GB, free: 23.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1242, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01653/0.1407, allocations: 15.05 MB / 0.675 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005369/0.1461, allocations: 3.886 MB / 0.6788 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005073/0.1467, allocations: 23.88 kB / 0.6788 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006218/0.1473, allocations: 190.7 kB / 0.679 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.1491, allocations: 0.6998 MB / 0.6797 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001236/0.1503, allocations: 479.6 kB / 0.6802 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001537/0.1519, allocations: 1.091 MB / 0.6812 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004758/0.1524, allocations: 273.6 kB / 0.6815 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008527/0.1532, allocations: 422.4 kB / 0.6819 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005381/0.1538, allocations: 262.7 kB / 0.6821 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.1539, allocations: 20 kB / 0.6822 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.1552, allocations: 0.7212 MB / 0.6829 GB, free: 3.102 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.1553, allocations: 75.62 kB / 0.6829 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.1557, allocations: 187 kB / 0.6831 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.1569, allocations: 0.7318 MB / 0.6838 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1569, allocations: 7.938 kB / 0.6838 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1569, allocations: 0 / 0.6838 GB, free: 2.102 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.343e-05/0.1569, allocations: 0 / 0.6838 GB, free: 2.102 MB / 0.5137 GB 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.001155/0.1581, allocations: 0.7543 MB / 0.6846 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.1581, allocations: 8.031 kB / 0.6846 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1582, allocations: 48.66 kB / 0.6846 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1593, allocations: 0.5131 MB / 0.6851 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.949e-05/0.1593, allocations: 12.33 kB / 0.6851 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1594, allocations: 20 kB / 0.6852 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003783/0.1597, allocations: 184.1 kB / 0.6853 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.1598, allocations: 0 / 0.6853 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.549e-05/0.1598, allocations: 8 kB / 0.6853 GB, free: 472 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1598, allocations: 7.938 kB / 0.6854 GB, free: 464 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003403/0.1601, allocations: 144.1 kB / 0.6855 GB, free: 320 kB / 0.5137 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.001123/0.1613, allocations: 0.8569 MB / 0.6863 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002598/0.1616, allocations: 122.6 kB / 0.6864 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.1617, allocations: 80.75 kB / 0.6865 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/0.162, allocations: 336.4 kB / 0.6868 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.162, allocations: 34.56 kB / 0.6869 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.873e-06/0.162, allocations: 0 / 0.6869 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.0005818/0.1626, allocations: 217.3 kB / 0.6871 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.1627, allocations: 55.39 kB / 0.6871 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/0.163, allocations: 349.6 kB / 0.6875 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.163, allocations: 33.7 kB / 0.6875 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.1632, allocations: 192.5 kB / 0.6877 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.043e-05/0.1632, allocations: 39.62 kB / 0.6877 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.1633, allocations: 37.66 kB / 0.6878 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1634, allocations: 338.8 kB / 0.6881 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.1636, allocations: 52.81 kB / 0.6881 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1637, allocations: 94.98 kB / 0.6882 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.164, allocations: 121.5 kB / 0.6883 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.164, allocations: 0 / 0.6883 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003933/0.1644, allocations: 181.3 kB / 0.6885 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1645, allocations: 12 kB / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.1645, allocations: 0 / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.1645, allocations: 0 / 0.6885 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.1646, allocations: 23.98 kB / 0.6885 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.208e-06/0.1647, allocations: 0 / 0.6885 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.1649, allocations: 23.92 kB / 0.6886 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.43e-05/0.1649, allocations: 4 kB / 0.6886 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002167/0.1651, allocations: 157 kB / 0.6887 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001641/0.1653, allocations: 92.12 kB / 0.6888 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000251/0.1656, allocations: 109.7 kB / 0.6889 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.1656, allocations: 3.984 kB / 0.6889 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003587/0.1659, allocations: 177.4 kB / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.957e-06/0.166, allocations: 7.938 kB / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.166, allocations: 192 / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.587e-06/0.166, allocations: 0 / 0.6891 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1661, allocations: 31.86 kB / 0.6891 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.365e-06/0.1661, allocations: 0 / 0.6891 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1663, allocations: 23.88 kB / 0.6891 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.623e-05/0.1663, allocations: 8 kB / 0.6892 GB, free: 12.25 MB / 0.5294 GB 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 9.821e-05/0.1664, allocations: 196.2 kB / 0.6893 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.394e-05/0.1665, allocations: 39.7 kB / 0.6894 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.167, allocations: 224.6 kB / 0.6896 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.167, allocations: 0 / 0.6896 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.167, allocations: 0 / 0.6896 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.1671, allocations: 124.8 kB / 0.6897 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.293e-05/0.1672, allocations: 4.125 kB / 0.6897 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.1674, allocations: 19.98 kB / 0.6897 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1674, allocations: 11.98 kB / 0.6897 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000431/0.1679, allocations: 267.4 kB / 0.69 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004557/0.1683, allocations: 382.4 kB / 0.6904 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001583/0.1685, allocations: 71.94 kB / 0.6904 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002364/0.1688, allocations: 243.2 kB / 0.6907 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of Backend: time 3.7e-07/0.1688, allocations: 0 / 0.6907 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.17, allocations: 416.3 kB / 0.6911 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of SimCode: time 0.001357/0.1714, allocations: 1.104 MB / 0.6921 GB, free: 9.102 MB / 0.5294 GB Notification: Performance of Templates: time 0.01331/0.1847, allocations: 7.563 MB / 0.6995 GB, free: 1.633 MB / 0.5294 GB 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)