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.001167/0.001167, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001544/0.001544, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7185/0.7185, allocations: 132.4 MB / 423.4 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 12 kB / 0.5034 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3576/0.358, allocations: 81.57 MB / 0.5831 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01316/0.3712, allocations: 13.77 MB / 0.5965 GB, free: 10.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005008/0.3762, allocations: 3.626 MB / 0.6001 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002967/0.3765, allocations: 20.09 kB / 0.6001 GB, free: 7.613 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000436/0.377, allocations: 129.1 kB / 0.6002 GB, free: 7.543 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001263/0.3782, allocations: 0.5585 MB / 0.6007 GB, free: 7.238 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.3793, allocations: 414.4 kB / 0.6011 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001383/0.3807, allocations: 1.194 MB / 0.6023 GB, free: 6.398 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003936/0.3811, allocations: 223.1 kB / 0.6025 GB, free: 6.254 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00058/0.3817, allocations: 346.3 kB / 0.6029 GB, free: 6.074 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000319/0.382, allocations: 254.9 kB / 0.6031 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.603e-05/0.382, allocations: 11.38 kB / 0.6031 GB, free: 5.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.3831, allocations: 0.6373 MB / 0.6037 GB, free: 5.566 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.005e-05/0.3832, allocations: 53.11 kB / 0.6038 GB, free: 5.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 8.591e-05/0.3833, allocations: 93.89 kB / 0.6039 GB, free: 5.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005919/0.3839, allocations: 486.5 kB / 0.6043 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3839, allocations: 1.125 kB / 0.6043 GB, free: 5.195 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3839, allocations: 3.938 kB / 0.6043 GB, free: 5.191 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.249e-06/0.3839, allocations: 0 / 0.6043 GB, free: 5.191 MB / 446.1 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.0009451/0.3849, allocations: 0.691 MB / 0.605 GB, free: 4.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.3849, allocations: 10.16 kB / 0.605 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/0.385, allocations: 40.69 kB / 0.6051 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008171/0.3858, allocations: 487.1 kB / 0.6055 GB, free: 4.145 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3859, allocations: 16.42 kB / 0.6055 GB, free: 4.137 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.238e-05/0.3859, allocations: 25.16 kB / 0.6056 GB, free: 4.125 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003535/0.3863, allocations: 190.8 kB / 0.6057 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3863, allocations: 0 / 0.6057 GB, free: 4.008 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/0.3863, allocations: 5.562 kB / 0.6058 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3863, allocations: 4.531 kB / 0.6058 GB, free: 4.004 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003206/0.3867, allocations: 145.5 kB / 0.6059 GB, free: 3.941 MB / 446.1 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.001036/0.3877, allocations: 0.8647 MB / 0.6067 GB, free: 3.141 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002476/0.388, allocations: 128.9 kB / 0.6069 GB, free: 3.066 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.3881, allocations: 82.06 kB / 0.6069 GB, free: 3.023 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/0.3884, allocations: 336.2 kB / 0.6073 GB, free: 2.637 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.3884, allocations: 31.53 kB / 0.6073 GB, free: 2.598 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3885, allocations: 0 / 0.6073 GB, free: 2.598 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005352/0.389, allocations: 235.5 kB / 0.6075 GB, free: 2.477 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.389, allocations: 52.41 kB / 0.6076 GB, free: 2.414 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.3894, allocations: 344.1 kB / 0.6079 GB, free: 2.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.3894, allocations: 31.02 kB / 0.6079 GB, free: 2.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.3895, allocations: 203.6 kB / 0.6081 GB, free: 1.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.52e-05/0.3896, allocations: 35.86 kB / 0.6082 GB, free: 1.945 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.746e-06/0.3896, allocations: 9.188 kB / 0.6082 GB, free: 1.938 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3897, allocations: 338 kB / 0.6085 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.3899, allocations: 48.36 kB / 0.6085 GB, free: 1.586 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.39, allocations: 94.41 kB / 0.6086 GB, free: 1.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.3902, allocations: 55.22 kB / 0.6087 GB, free: 1.492 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3902, allocations: 1.875 kB / 0.6087 GB, free: 1.492 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003478/0.3905, allocations: 188 kB / 0.6089 GB, free: 1.387 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.057e-05/0.3906, allocations: 98.98 kB / 0.6089 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.3906, allocations: 5.422 kB / 0.609 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.3906, allocations: 1.219 kB / 0.609 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.3908, allocations: 29.08 kB / 0.609 GB, free: 1.273 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3908, allocations: 5.031 kB / 0.609 GB, free: 1.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.391, allocations: 40.28 kB / 0.609 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.391, allocations: 4 kB / 0.609 GB, free: 1.246 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-06/0.391, allocations: 4.25 kB / 0.609 GB, free: 1.246 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002858/0.3913, allocations: 124.9 kB / 0.6092 GB, free: 1.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.3914, allocations: 5.172 kB / 0.6092 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.655e-06/0.3914, allocations: 0.9062 kB / 0.6092 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.3915, allocations: 25.02 kB / 0.6092 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-06/0.3915, allocations: 1.031 kB / 0.6092 GB, free: 1.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.3917, allocations: 39.72 kB / 0.6092 GB, free: 1.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.3917, allocations: 5.25 kB / 0.6092 GB, free: 1.16 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001492/0.3919, allocations: 227.2 kB / 0.6094 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.644e-05/0.3919, allocations: 31.5 kB / 0.6095 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004739/0.3924, allocations: 234.1 kB / 0.6097 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3924, allocations: 5.953 kB / 0.6097 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3924, allocations: 0 / 0.6097 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3924, allocations: 1.094 kB / 0.6097 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008349/0.3933, allocations: 0.6502 MB / 0.6103 GB, free: 252 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3933, allocations: 5.406 kB / 0.6103 GB, free: 248 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3934, allocations: 29.36 kB / 0.6104 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3934, allocations: 1.219 kB / 0.6104 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3934, allocations: 6.5 kB / 0.6104 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3935, allocations: 10.17 kB / 0.6104 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3935, allocations: 9.203 kB / 0.6104 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.3939, allocations: 323.7 kB / 0.6107 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.394, allocations: 132 kB / 0.6108 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.042e-05/0.3941, allocations: 1.094 kB / 0.6108 GB, free: 15.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.3943, allocations: 31.28 kB / 0.6109 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.387e-05/0.3943, allocations: 13.16 kB / 0.6109 GB, free: 15.82 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.3944, allocations: 9.344 kB / 0.6109 GB, free: 15.82 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002362/0.3946, allocations: 248.1 kB / 0.6111 GB, free: 15.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3946, allocations: 0 / 0.6111 GB, free: 15.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006042/0.3952, allocations: 188 kB / 0.6113 GB, free: 15.61 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004726/0.3957, allocations: 239.8 kB / 0.6115 GB, free: 15.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004787/0.3962, allocations: 200.5 kB / 0.6117 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3962, allocations: 0 / 0.6117 GB, free: 15.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000166/0.3964, allocations: 81.42 kB / 0.6118 GB, free: 15.35 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007899/0.3972, allocations: 149.9 kB / 0.6119 GB, free: 15.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008907/0.3981, allocations: 0.68 MB / 0.6126 GB, free: 14.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.3984, allocations: 0.7931 MB / 0.6134 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.3987, allocations: 78.02 kB / 0.6135 GB, free: 13.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.809e-05/0.3988, allocations: 28.38 kB / 0.6135 GB, free: 13.98 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3988, allocations: 0 / 0.6135 GB, free: 13.98 MB / 462.1 MB Notification: Performance of Templates: time 0.0121/0.4109, allocations: 6.105 MB / 0.6194 GB, free: 10.88 MB / 462.1 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)