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.001427/0.001427, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001389/0.001389, allocations: 198.8 kB / 16.14 MB, free: 6.633 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.538/1.538, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.6 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 67.95 kB / 0.5052 GB, free: 5.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1892, allocations: 81.03 MB / 0.5843 GB, free: 4.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01879/0.208, allocations: 15 MB / 0.599 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006111/0.2142, allocations: 3.915 MB / 0.6028 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004421/0.2147, allocations: 19.88 kB / 0.6028 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005454/0.2153, allocations: 155.1 kB / 0.603 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.2168, allocations: 0.6144 MB / 0.6036 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.218, allocations: 426.6 kB / 0.604 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.288/0.506, allocations: 1.366 MB / 0.6053 GB, free: 36.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004271/0.5065, allocations: 240.6 kB / 0.6055 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006603/0.5071, allocations: 373.3 kB / 0.6059 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.5074, allocations: 274.1 kB / 0.6061 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.835e-05/0.5075, allocations: 14.44 kB / 0.6062 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5086, allocations: 0.6973 MB / 0.6068 GB, free: 36.37 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.77e-05/0.5087, allocations: 65.88 kB / 0.6069 GB, free: 36.35 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001668/0.5089, allocations: 177.9 kB / 0.6071 GB, free: 36.29 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008477/0.5097, allocations: 0.7019 MB / 0.6078 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5098, allocations: 0.7188 kB / 0.6078 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5098, allocations: 0 / 0.6078 GB, free: 36.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.593e-06/0.5098, allocations: 4.125 kB / 0.6078 GB, free: 36.23 MB / 0.4981 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.001021/0.5108, allocations: 0.7459 MB / 0.6085 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.5109, allocations: 12.98 kB / 0.6085 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.523e-05/0.511, allocations: 44.16 kB / 0.6085 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007577/0.5117, allocations: 497.6 kB / 0.609 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5118, allocations: 19.05 kB / 0.609 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.5118, allocations: 19.25 kB / 0.6091 GB, free: 35.42 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003438/0.5121, allocations: 174.7 kB / 0.6092 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.5122, allocations: 0 / 0.6092 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.5122, allocations: 10.44 kB / 0.6092 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.5122, allocations: 3.188 kB / 0.6092 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.5125, allocations: 144.9 kB / 0.6094 GB, free: 35.38 MB / 0.4981 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.000961/0.5135, allocations: 0.8564 MB / 0.6102 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5137, allocations: 133.6 kB / 0.6103 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/0.5139, allocations: 67.17 kB / 0.6104 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002758/0.5142, allocations: 336.8 kB / 0.6107 GB, free: 34.41 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5142, allocations: 37.56 kB / 0.6108 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.703e-06/0.5142, allocations: 0 / 0.6108 GB, free: 34.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005328/0.5147, allocations: 220.7 kB / 0.611 GB, free: 34.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.5148, allocations: 51.41 kB / 0.611 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.5151, allocations: 349.1 kB / 0.6114 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.5151, allocations: 29.64 kB / 0.6114 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.344e-05/0.5152, allocations: 195.3 kB / 0.6116 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.5152, allocations: 43.19 kB / 0.6116 GB, free: 33.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.812e-05/0.5153, allocations: 38.62 kB / 0.6116 GB, free: 33.97 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.69e-05/0.5154, allocations: 344.9 kB / 0.612 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5155, allocations: 50.95 kB / 0.612 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000146/0.5156, allocations: 95.42 kB / 0.6121 GB, free: 33.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.5159, allocations: 114.8 kB / 0.6122 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5159, allocations: 0 / 0.6122 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003204/0.5162, allocations: 176.1 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.5162, allocations: 5.688 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5163, allocations: 3.375 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.5163, allocations: 3.938 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.5164, allocations: 25.95 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.5164, allocations: 2.969 kB / 0.6124 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.5167, allocations: 29.86 kB / 0.6125 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.5167, allocations: 9.203 kB / 0.6125 GB, free: 33.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000185/0.5169, allocations: 150 kB / 0.6126 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001307/0.5171, allocations: 95.39 kB / 0.6127 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002114/0.5173, allocations: 108.9 kB / 0.6128 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.5173, allocations: 0 / 0.6128 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002967/0.5176, allocations: 175.1 kB / 0.613 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.213e-06/0.5176, allocations: 9.75 kB / 0.613 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-06/0.5176, allocations: 0 / 0.613 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-06/0.5176, allocations: 6.75 kB / 0.613 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.5177, allocations: 28.02 kB / 0.613 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.5177, allocations: 2.781 kB / 0.613 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.5179, allocations: 23.36 kB / 0.613 GB, free: 33.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.518, allocations: 5.984 kB / 0.613 GB, free: 33.33 MB / 0.4981 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 7.693e-05/0.518, allocations: 200.7 kB / 0.6132 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.463e-05/0.5181, allocations: 34.12 kB / 0.6133 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004377/0.5185, allocations: 220.4 kB / 0.6135 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.5186, allocations: 3.422 kB / 0.6135 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5186, allocations: 2.906 kB / 0.6135 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5186, allocations: 0 / 0.6135 GB, free: 33.08 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007196/0.5193, allocations: 0.6369 MB / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.5193, allocations: 0 / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.989e-05/0.5194, allocations: 32.03 kB / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.5194, allocations: 2.406 kB / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.5195, allocations: 3.625 kB / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5195, allocations: 0 / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5195, allocations: 3.031 kB / 0.6141 GB, free: 32.74 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.5198, allocations: 321.2 kB / 0.6145 GB, free: 32.56 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.5199, allocations: 124.8 kB / 0.6146 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.312e-05/0.52, allocations: 4.312 kB / 0.6146 GB, free: 32.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.5202, allocations: 28.12 kB / 0.6146 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.5202, allocations: 15.25 kB / 0.6146 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.5203, allocations: 9.562 kB / 0.6146 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001945/0.5205, allocations: 246 kB / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5205, allocations: 0 / 0.6149 GB, free: 32.36 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005881/0.5211, allocations: 191.6 kB / 0.615 GB, free: 32.32 MB / 0.4981 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.0005028/0.5216, allocations: 248.5 kB / 0.6153 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004588/0.522, allocations: 193.8 kB / 0.6155 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5221, allocations: 0 / 0.6155 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.5222, allocations: 73.98 kB / 0.6155 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008314/0.523, allocations: 150.3 kB / 0.6157 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.5238, allocations: 0.6691 MB / 0.6163 GB, free: 31.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001858/0.524, allocations: 0.798 MB / 0.6171 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002337/0.5243, allocations: 73.86 kB / 0.6172 GB, free: 31.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.47e-05/0.5243, allocations: 33.7 kB / 0.6172 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.5243, allocations: 0 / 0.6172 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.01125/0.5356, allocations: 6.304 MB / 0.6234 GB, free: 30.63 MB / 0.4981 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)