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.0009812/0.0009815, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007301/0.007302, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8232/0.8232, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004249/0.0004251, allocations: 9.031 kB / 0.504 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4256/0.4261, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01476/0.4409, allocations: 14.5 MB / 0.5978 GB, free: 9.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005935/0.4469, allocations: 3.872 MB / 0.6016 GB, free: 6.824 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004542/0.4473, allocations: 18.38 kB / 0.6016 GB, free: 6.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005668/0.4479, allocations: 149.3 kB / 0.6018 GB, free: 6.734 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001799/0.4497, allocations: 0.6149 MB / 0.6024 GB, free: 6.395 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.4511, allocations: 427 kB / 0.6028 GB, free: 6.199 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001899/0.453, allocations: 1.379 MB / 0.6041 GB, free: 5.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003975/0.4535, allocations: 241 kB / 0.6043 GB, free: 5.312 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006767/0.4541, allocations: 357.7 kB / 0.6047 GB, free: 5.125 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003898/0.4545, allocations: 271.2 kB / 0.6049 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.874e-05/0.4546, allocations: 11.56 kB / 0.605 GB, free: 4.969 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.4561, allocations: 0.6933 MB / 0.6056 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.4562, allocations: 68.81 kB / 0.6057 GB, free: 4.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002266/0.4565, allocations: 200.3 kB / 0.6059 GB, free: 4.375 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.4576, allocations: 0.699 MB / 0.6066 GB, free: 3.949 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4576, allocations: 1.344 kB / 0.6066 GB, free: 3.949 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4576, allocations: 0 / 0.6066 GB, free: 3.949 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.298e-06/0.4576, allocations: 0 / 0.6066 GB, free: 3.949 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.001183/0.4588, allocations: 0.6801 MB / 0.6072 GB, free: 3.336 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.4588, allocations: 8.969 kB / 0.6072 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.46e-05/0.4589, allocations: 49.94 kB / 0.6073 GB, free: 3.309 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000945/0.4599, allocations: 0.4963 MB / 0.6078 GB, free: 2.883 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.32e-05/0.4599, allocations: 16.02 kB / 0.6078 GB, free: 2.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.46, allocations: 16.72 kB / 0.6078 GB, free: 2.871 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005258/0.4605, allocations: 184.8 kB / 0.608 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.4605, allocations: 0 / 0.608 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.4605, allocations: 6.156 kB / 0.608 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.4606, allocations: 8.25 kB / 0.608 GB, free: 2.754 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000362/0.4609, allocations: 151 kB / 0.6081 GB, free: 2.688 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.001222/0.4622, allocations: 0.8604 MB / 0.609 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.4624, allocations: 125.5 kB / 0.6091 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.4626, allocations: 83.08 kB / 0.6092 GB, free: 1.777 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.463, allocations: 339.8 kB / 0.6095 GB, free: 1.387 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.463, allocations: 39.75 kB / 0.6095 GB, free: 1.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.693e-06/0.463, allocations: 0 / 0.6095 GB, free: 1.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0006369/0.4637, allocations: 231.6 kB / 0.6098 GB, free: 1.227 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.849e-05/0.4637, allocations: 57.5 kB / 0.6098 GB, free: 1.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.4641, allocations: 343.3 kB / 0.6101 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.825e-05/0.4642, allocations: 30.95 kB / 0.6102 GB, free: 0.9102 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.4643, allocations: 199.3 kB / 0.6104 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.4644, allocations: 40.64 kB / 0.6104 GB, free: 0.6953 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.4644, allocations: 16.28 kB / 0.6104 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4646, allocations: 343 kB / 0.6107 GB, free: 348 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.4648, allocations: 52.62 kB / 0.6108 GB, free: 324 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001961/0.465, allocations: 95.72 kB / 0.6109 GB, free: 252 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.4653, allocations: 128.9 kB / 0.611 GB, free: 184 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4653, allocations: 0 / 0.611 GB, free: 184 kB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004562/0.4658, allocations: 194.6 kB / 0.6112 GB, free: 72 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4659, allocations: 98.95 kB / 0.6113 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4659, allocations: 1.344 kB / 0.6113 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.4659, allocations: 1.469 kB / 0.6113 GB, free: 15.97 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.4661, allocations: 30.36 kB / 0.6113 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.4661, allocations: 7.984 kB / 0.6113 GB, free: 15.95 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002935/0.4664, allocations: 28.02 kB / 0.6114 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.961e-05/0.4665, allocations: 8.609 kB / 0.6114 GB, free: 15.94 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.536e-06/0.4665, allocations: 4.688 kB / 0.6114 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003268/0.4668, allocations: 126.8 kB / 0.6115 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.216e-06/0.4668, allocations: 1.062 kB / 0.6115 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.4668, allocations: 5.188 kB / 0.6115 GB, free: 15.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4669, allocations: 28.3 kB / 0.6115 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.467, allocations: 1.344 kB / 0.6115 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002103/0.4672, allocations: 35.31 kB / 0.6116 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4672, allocations: 5.156 kB / 0.6116 GB, free: 15.85 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.4674, allocations: 219.9 kB / 0.6118 GB, free: 15.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.882e-05/0.4675, allocations: 39.41 kB / 0.6118 GB, free: 15.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005513/0.468, allocations: 246.7 kB / 0.612 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.468, allocations: 1.062 kB / 0.612 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4681, allocations: 1.5 kB / 0.612 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4681, allocations: 0 / 0.612 GB, free: 15.47 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009359/0.469, allocations: 0.6401 MB / 0.6127 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.469, allocations: 1.25 kB / 0.6127 GB, free: 14.94 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.4691, allocations: 33.34 kB / 0.6127 GB, free: 14.93 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.4692, allocations: 5.562 kB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.4692, allocations: 6.469 kB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.4692, allocations: 1.094 kB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4692, allocations: 1.25 kB / 0.6127 GB, free: 14.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.4697, allocations: 333 kB / 0.613 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.4698, allocations: 128.5 kB / 0.6132 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.4699, allocations: 5.141 kB / 0.6132 GB, free: 14.54 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.4701, allocations: 26.92 kB / 0.6132 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.4702, allocations: 13.94 kB / 0.6132 GB, free: 14.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.859e-05/0.4702, allocations: 12.58 kB / 0.6132 GB, free: 14.51 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002789/0.4705, allocations: 244.6 kB / 0.6134 GB, free: 14.36 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4705, allocations: 0 / 0.6134 GB, free: 14.36 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008073/0.4713, allocations: 192.7 kB / 0.6136 GB, free: 14.3 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 (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.0006539/0.472, allocations: 251.5 kB / 0.6139 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000594/0.4726, allocations: 198.7 kB / 0.6141 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4726, allocations: 0 / 0.6141 GB, free: 14.07 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4728, allocations: 84.92 kB / 0.6141 GB, free: 14.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009285/0.4737, allocations: 150.7 kB / 0.6143 GB, free: 13.96 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009857/0.4747, allocations: 0.6985 MB / 0.615 GB, free: 13.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.4751, allocations: 0.7928 MB / 0.6157 GB, free: 12.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.000287/0.4754, allocations: 73.03 kB / 0.6158 GB, free: 12.65 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.4755, allocations: 29.09 kB / 0.6158 GB, free: 12.64 MB / 462.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4755, allocations: 0 / 0.6158 GB, free: 12.64 MB / 462.1 MB Notification: Performance of Templates: time 0.01224/0.4877, allocations: 6.267 MB / 0.622 GB, free: 8.727 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)