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.008132/0.008132, allocations: 99.03 kB / 15.73 MB, free: 6.043 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.001263/0.001263, allocations: 195.3 kB / 16.68 MB, free: 5.973 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.43/1.43, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9782/0.9782, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 63.91 kB / 0.5856 GB, free: 3.355 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4994/0.5007, allocations: 80.91 MB / 0.6646 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01518/0.5159, allocations: 15.05 MB / 0.6793 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006011/0.522, allocations: 3.891 MB / 0.6831 GB, free: 8.367 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005488/0.5225, allocations: 18.25 kB / 0.6831 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006337/0.5232, allocations: 194.9 kB / 0.6833 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001679/0.5249, allocations: 0.7034 MB / 0.684 GB, free: 7.668 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001268/0.5262, allocations: 473.5 kB / 0.6845 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.5277, allocations: 1.091 MB / 0.6855 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004376/0.5282, allocations: 285.5 kB / 0.6858 GB, free: 6.543 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007068/0.5289, allocations: 408.1 kB / 0.6862 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003494/0.5293, allocations: 268.4 kB / 0.6865 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.528e-05/0.5293, allocations: 20.38 kB / 0.6865 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5306, allocations: 0.7186 MB / 0.6872 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.5307, allocations: 68.3 kB / 0.6872 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000199/0.5309, allocations: 190.9 kB / 0.6874 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001062/0.532, allocations: 0.7339 MB / 0.6881 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.532, allocations: 0 / 0.6881 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.532, allocations: 1.5 kB / 0.6881 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.532, allocations: 0 / 0.6881 GB, free: 5.125 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.001148/0.5332, allocations: 0.7391 MB / 0.6889 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.5332, allocations: 9.031 kB / 0.6889 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.5333, allocations: 41.72 kB / 0.6889 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5344, allocations: 0.5204 MB / 0.6894 GB, free: 4.012 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.893e-05/0.5344, allocations: 16.58 kB / 0.6894 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.5344, allocations: 16.59 kB / 0.6895 GB, free: 4 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003692/0.5348, allocations: 175.6 kB / 0.6896 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.5348, allocations: 0 / 0.6896 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.5349, allocations: 4.938 kB / 0.6896 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.367e-06/0.5349, allocations: 5.344 kB / 0.6896 GB, free: 3.891 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003318/0.5352, allocations: 148.2 kB / 0.6898 GB, free: 3.816 MB / 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.001185/0.5364, allocations: 0.857 MB / 0.6906 GB, free: 3.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002793/0.5367, allocations: 124.2 kB / 0.6907 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5369, allocations: 73.91 kB / 0.6908 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.5372, allocations: 339.8 kB / 0.6911 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5372, allocations: 35.75 kB / 0.6912 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.493e-06/0.5372, allocations: 1.344 kB / 0.6912 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12): time 0.0005651/0.5378, allocations: 217 kB / 0.6914 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.627e-05/0.5378, allocations: 52.56 kB / 0.6914 GB, free: 2.293 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.5382, allocations: 352.3 kB / 0.6917 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.5383, allocations: 30.83 kB / 0.6918 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.5384, allocations: 191.1 kB / 0.692 GB, free: 1.863 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.156e-05/0.5384, allocations: 40.17 kB / 0.692 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.759e-05/0.5385, allocations: 38.64 kB / 0.692 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.5386, allocations: 346 kB / 0.6924 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.5388, allocations: 53.56 kB / 0.6924 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001744/0.539, allocations: 82.41 kB / 0.6925 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.5393, allocations: 123 kB / 0.6926 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5393, allocations: 0 / 0.6926 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003699/0.5396, allocations: 177.4 kB / 0.6928 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5397, allocations: 5.875 kB / 0.6928 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.5397, allocations: 0 / 0.6928 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.5397, allocations: 1.094 kB / 0.6928 GB, free: 1.191 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/0.5399, allocations: 27.95 kB / 0.6928 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.5399, allocations: 9 kB / 0.6928 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001935/0.5401, allocations: 20.91 kB / 0.6928 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.5401, allocations: 3.781 kB / 0.6928 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000205/0.5403, allocations: 154.8 kB / 0.693 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001517/0.5405, allocations: 88.58 kB / 0.6931 GB, free: 0.9766 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002404/0.5407, allocations: 124.9 kB / 0.6932 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.41e-07/0.5407, allocations: 0 / 0.6932 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003646/0.5411, allocations: 175.5 kB / 0.6934 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.125e-06/0.5411, allocations: 5.312 kB / 0.6934 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-06/0.5411, allocations: 1.219 kB / 0.6934 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.5411, allocations: 0 / 0.6934 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.5412, allocations: 31.48 kB / 0.6934 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.5413, allocations: 1.25 kB / 0.6934 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.5414, allocations: 20.7 kB / 0.6934 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5415, allocations: 4.406 kB / 0.6934 GB, free: 0.7773 MB / 0.5137 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.0001185/0.5416, allocations: 191.7 kB / 0.6936 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.505e-05/0.5416, allocations: 36.84 kB / 0.6936 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004738/0.5421, allocations: 225.8 kB / 0.6939 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.5421, allocations: 1.312 kB / 0.6939 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5422, allocations: 1.406 kB / 0.6939 GB, free: 440 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5422, allocations: 4 kB / 0.6939 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008592/0.543, allocations: 0.6342 MB / 0.6945 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.543, allocations: 5.562 kB / 0.6945 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.5432, allocations: 24.11 kB / 0.6945 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5432, allocations: 5.312 kB / 0.6945 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.5432, allocations: 9.422 kB / 0.6945 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.5432, allocations: 1.344 kB / 0.6945 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5432, allocations: 1.281 kB / 0.6945 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004536/0.5437, allocations: 320.1 kB / 0.6948 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.5438, allocations: 130.7 kB / 0.695 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.953e-05/0.5439, allocations: 1.406 kB / 0.695 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.5441, allocations: 16.17 kB / 0.695 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.249e-05/0.5441, allocations: 17.11 kB / 0.695 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.5441, allocations: 9.047 kB / 0.695 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002731/0.5444, allocations: 243.6 kB / 0.6952 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5444, allocations: 0 / 0.6952 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000716/0.5452, allocations: 189.6 kB / 0.6954 GB, free: 15.27 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.0006113/0.5458, allocations: 257.9 kB / 0.6957 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005276/0.5463, allocations: 180.4 kB / 0.6958 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.5463, allocations: 0 / 0.6958 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001784/0.5465, allocations: 79.89 kB / 0.6959 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007849/0.5473, allocations: 151.7 kB / 0.6961 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001036/0.5484, allocations: 0.5623 MB / 0.6966 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.5488, allocations: 0.7983 MB / 0.6974 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002164/0.549, allocations: 69.23 kB / 0.6974 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.702e-05/0.5491, allocations: 35.92 kB / 0.6975 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of SimCode: time 2.3e-07/0.5491, allocations: 0 / 0.6975 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of Templates: time 0.01316/0.5622, allocations: 6.597 MB / 0.7039 GB, free: 8.895 MB / 0.5294 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)