Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.007931/0.007931, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001506/0.001506, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.424/1.424, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8057/0.8057, allocations: 135.1 MB / 425.7 MB, free: 4.129 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 67.7 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1795, allocations: 80.93 MB / 0.6646 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01657/0.1962, allocations: 15.04 MB / 0.6793 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005768/0.202, allocations: 3.901 MB / 0.6831 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004699/0.2025, allocations: 23.88 kB / 0.6831 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006135/0.2031, allocations: 190.7 kB / 0.6833 GB, free: 2.586 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001631/0.2048, allocations: 0.6959 MB / 0.684 GB, free: 1.887 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001252/0.2061, allocations: 489.1 kB / 0.6845 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001361/0.2074, allocations: 1.083 MB / 0.6855 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.2078, allocations: 277.6 kB / 0.6858 GB, free: 52 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006487/0.2085, allocations: 418.4 kB / 0.6862 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002899/0.2088, allocations: 258.8 kB / 0.6864 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.2088, allocations: 24 kB / 0.6865 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001121/0.21, allocations: 0.7174 MB / 0.6872 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.737e-05/0.2101, allocations: 75.62 kB / 0.6872 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.2103, allocations: 191 kB / 0.6874 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000967/0.2113, allocations: 0.7284 MB / 0.6881 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.2113, allocations: 7.938 kB / 0.6881 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.643e-06/0.2113, allocations: 0 / 0.6881 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.2113, allocations: 0 / 0.6881 GB, free: 13.64 MB / 0.5294 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.00113/0.2124, allocations: 0.7357 MB / 0.6889 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.2125, allocations: 17.09 kB / 0.6889 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.2126, allocations: 44.47 kB / 0.6889 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/0.2136, allocations: 0.501 MB / 0.6894 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.865e-05/0.2136, allocations: 12.33 kB / 0.6894 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.13e-05/0.2137, allocations: 20 kB / 0.6894 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000382/0.2141, allocations: 184.2 kB / 0.6896 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.2141, allocations: 0 / 0.6896 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.2141, allocations: 7.938 kB / 0.6896 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2141, allocations: 11.88 kB / 0.6896 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.2145, allocations: 140.2 kB / 0.6898 GB, free: 11.88 MB / 0.5294 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.001186/0.2157, allocations: 0.8606 MB / 0.6906 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.2159, allocations: 118.6 kB / 0.6907 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.2161, allocations: 76.75 kB / 0.6908 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002703/0.2164, allocations: 340.4 kB / 0.6911 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.2164, allocations: 34.56 kB / 0.6911 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=12): time 1.342e-06/0.2165, allocations: 0 / 0.6911 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12): time 0.000553/0.217, allocations: 221.1 kB / 0.6914 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.2171, allocations: 55.34 kB / 0.6914 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003336/0.2174, allocations: 345.7 kB / 0.6917 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.2174, allocations: 33.7 kB / 0.6918 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001302/0.2176, allocations: 196.2 kB / 0.692 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.2176, allocations: 35.45 kB / 0.692 GB, free: 9.367 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.094e-05/0.2177, allocations: 33.7 kB / 0.692 GB, free: 9.328 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2178, allocations: 342.8 kB / 0.6924 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.2179, allocations: 52.83 kB / 0.6924 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.2181, allocations: 92.25 kB / 0.6925 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.2184, allocations: 117.6 kB / 0.6926 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2184, allocations: 0 / 0.6926 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003558/0.2188, allocations: 181 kB / 0.6928 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2188, allocations: 8 kB / 0.6928 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2188, allocations: 4 kB / 0.6928 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2188, allocations: 0 / 0.6928 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.219, allocations: 23.98 kB / 0.6928 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.219, allocations: 3.984 kB / 0.6928 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001795/0.2192, allocations: 20.02 kB / 0.6928 GB, free: 8.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.2192, allocations: 7.938 kB / 0.6928 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000209/0.2194, allocations: 156.1 kB / 0.693 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001543/0.2196, allocations: 92.12 kB / 0.6931 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002472/0.2198, allocations: 113.6 kB / 0.6932 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.81e-07/0.2198, allocations: 0 / 0.6932 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003342/0.2202, allocations: 181.1 kB / 0.6934 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.916e-06/0.2202, allocations: 8 kB / 0.6934 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.2202, allocations: 0 / 0.6934 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.2202, allocations: 0 / 0.6934 GB, free: 7.883 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.2203, allocations: 23.98 kB / 0.6934 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-06/0.2203, allocations: 0 / 0.6934 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.2205, allocations: 19.88 kB / 0.6934 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.2205, allocations: 12 kB / 0.6934 GB, free: 7.828 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 0.0001052/0.2206, allocations: 188.3 kB / 0.6936 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.059e-05/0.2207, allocations: 39.56 kB / 0.6936 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.2212, allocations: 231.6 kB / 0.6939 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.2212, allocations: 0 / 0.6939 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.2212, allocations: 4.094 kB / 0.6939 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2212, allocations: 3.984 kB / 0.6939 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008406/0.2221, allocations: 0.6334 MB / 0.6945 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.2221, allocations: 0 / 0.6945 GB, free: 6.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2222, allocations: 27.97 kB / 0.6945 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2222, allocations: 0 / 0.6945 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2222, allocations: 4 kB / 0.6945 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2222, allocations: 0 / 0.6945 GB, free: 6.629 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2222, allocations: 4.125 kB / 0.6945 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.2227, allocations: 325.5 kB / 0.6948 GB, free: 6.281 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.2228, allocations: 128.6 kB / 0.6949 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.563e-05/0.2229, allocations: 4 kB / 0.695 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.2231, allocations: 19.97 kB / 0.695 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.2231, allocations: 11.92 kB / 0.695 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2231, allocations: 12 kB / 0.695 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002459/0.2234, allocations: 243.2 kB / 0.6952 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2234, allocations: 0 / 0.6952 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005901/0.224, allocations: 183.7 kB / 0.6954 GB, free: 5.676 MB / 0.5294 GB 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.0005554/0.2246, allocations: 258.3 kB / 0.6956 GB, free: 5.422 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0004973/0.2251, allocations: 191.9 kB / 0.6958 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2251, allocations: 0 / 0.6958 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.2253, allocations: 79.89 kB / 0.6959 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000779/0.2261, allocations: 142 kB / 0.696 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008975/0.227, allocations: 0.567 MB / 0.6966 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003742/0.2274, allocations: 0.7957 MB / 0.6974 GB, free: 3.594 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002252/0.2276, allocations: 83.02 kB / 0.6975 GB, free: 3.516 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.674e-05/0.2277, allocations: 27.44 kB / 0.6975 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of SimCode: time 2.41e-07/0.2277, allocations: 0 / 0.6975 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of Templates: time 0.01264/0.2403, allocations: 6.597 MB / 0.7039 GB, free: 12.99 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)