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.001148/0.001148, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001437/0.001438, allocations: 194.5 kB / 16.25 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.527/1.527, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.038/1.038, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 72.88 kB / 0.5049 GB, free: 5.648 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.18, allocations: 80.92 MB / 0.5839 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01548/0.1955, allocations: 14.97 MB / 0.5985 GB, free: 5.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005992/0.2016, allocations: 3.871 MB / 0.6023 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006566/0.2023, allocations: 19.88 kB / 0.6023 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.203, allocations: 151.1 kB / 0.6024 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.2048, allocations: 0.637 MB / 0.6031 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.2061, allocations: 424.2 kB / 0.6035 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3212/0.5273, allocations: 1.087 MB / 0.6045 GB, free: 36.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.5279, allocations: 272.6 kB / 0.6048 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007553/0.5287, allocations: 412.5 kB / 0.6052 GB, free: 36.88 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.5289, allocations: 275.9 kB / 0.6055 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.951e-05/0.529, allocations: 24.62 kB / 0.6055 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001107/0.5301, allocations: 0.7173 MB / 0.6062 GB, free: 36.86 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.5302, allocations: 76.67 kB / 0.6063 GB, free: 36.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.5303, allocations: 186 kB / 0.6064 GB, free: 36.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008328/0.5312, allocations: 0.72 MB / 0.6071 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.5312, allocations: 3.812 kB / 0.6071 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.5312, allocations: 2.656 kB / 0.6071 GB, free: 36.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.5312, allocations: 0 / 0.6071 GB, free: 36.72 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.0009479/0.5322, allocations: 0.7479 MB / 0.6079 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.5322, allocations: 9.438 kB / 0.6079 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.142e-05/0.5323, allocations: 42.75 kB / 0.6079 GB, free: 36.17 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.533, allocations: 0.4893 MB / 0.6084 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.533, allocations: 18.7 kB / 0.6084 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.5331, allocations: 19.44 kB / 0.6084 GB, free: 35.91 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.5334, allocations: 177.1 kB / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5334, allocations: 0 / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.5335, allocations: 13.09 kB / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5335, allocations: 2.812 kB / 0.6086 GB, free: 35.88 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.5338, allocations: 140.3 kB / 0.6087 GB, free: 35.87 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.0009048/0.5347, allocations: 0.8576 MB / 0.6096 GB, free: 35.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5349, allocations: 119.2 kB / 0.6097 GB, free: 35.3 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.5351, allocations: 74.92 kB / 0.6098 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002862/0.5354, allocations: 340.4 kB / 0.6101 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.5354, allocations: 33.44 kB / 0.6101 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.5354, allocations: 0 / 0.6101 GB, free: 34.87 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004945/0.5359, allocations: 220 kB / 0.6103 GB, free: 34.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.815e-05/0.5359, allocations: 54.92 kB / 0.6104 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.5362, allocations: 346.9 kB / 0.6107 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.5362, allocations: 29.45 kB / 0.6107 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/0.5363, allocations: 197.8 kB / 0.6109 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.5364, allocations: 39.77 kB / 0.611 GB, free: 34.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.422e-05/0.5364, allocations: 35.72 kB / 0.611 GB, free: 34.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.434e-05/0.5365, allocations: 344.3 kB / 0.6113 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.5366, allocations: 55.47 kB / 0.6114 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.5368, allocations: 88.55 kB / 0.6115 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002362/0.537, allocations: 113.1 kB / 0.6116 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.537, allocations: 0 / 0.6116 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003243/0.5374, allocations: 177.9 kB / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5374, allocations: 9.844 kB / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.5374, allocations: 0 / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5374, allocations: 3.938 kB / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.5376, allocations: 29.41 kB / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.5376, allocations: 3.312 kB / 0.6118 GB, free: 34.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002113/0.5378, allocations: 35.7 kB / 0.6118 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.5378, allocations: 6.672 kB / 0.6118 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001775/0.538, allocations: 156.9 kB / 0.612 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001263/0.5381, allocations: 80.94 kB / 0.6121 GB, free: 33.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002116/0.5383, allocations: 124.6 kB / 0.6122 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.62e-07/0.5384, allocations: 0 / 0.6122 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.00031/0.5387, allocations: 167.3 kB / 0.6123 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.013e-06/0.5387, allocations: 5.812 kB / 0.6123 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-06/0.5387, allocations: 0 / 0.6123 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-06/0.5387, allocations: 3.375 kB / 0.6124 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.5388, allocations: 32.67 kB / 0.6124 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/0.5388, allocations: 0.625 kB / 0.6124 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.539, allocations: 23.83 kB / 0.6124 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.539, allocations: 9.953 kB / 0.6124 GB, free: 33.83 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 6.317e-05/0.5391, allocations: 186 kB / 0.6126 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.182e-05/0.5392, allocations: 39.22 kB / 0.6126 GB, free: 33.63 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.5396, allocations: 231.9 kB / 0.6129 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.5396, allocations: 3.938 kB / 0.6129 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.5396, allocations: 0 / 0.6129 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.5396, allocations: 0 / 0.6129 GB, free: 33.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.5403, allocations: 0.638 MB / 0.6135 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5404, allocations: 2.812 kB / 0.6135 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.785e-05/0.5405, allocations: 24.28 kB / 0.6135 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.5405, allocations: 2.906 kB / 0.6135 GB, free: 33.24 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.5405, allocations: 10.09 kB / 0.6135 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.5405, allocations: 3.5 kB / 0.6135 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5405, allocations: 2.969 kB / 0.6135 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.5409, allocations: 320.6 kB / 0.6138 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.487e-05/0.541, allocations: 130.5 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.541, allocations: 2.719 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.5412, allocations: 25.73 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.5413, allocations: 9.328 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.5413, allocations: 2.938 kB / 0.614 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001988/0.5415, allocations: 249.3 kB / 0.6142 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5415, allocations: 0 / 0.6142 GB, free: 32.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005722/0.5421, allocations: 192.7 kB / 0.6144 GB, free: 32.82 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.0005026/0.5426, allocations: 239.9 kB / 0.6146 GB, free: 32.71 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004757/0.5431, allocations: 198.3 kB / 0.6148 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5431, allocations: 2.906 kB / 0.6148 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.5433, allocations: 81.03 kB / 0.6149 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.5441, allocations: 152.1 kB / 0.6151 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/0.5448, allocations: 0.6737 MB / 0.6157 GB, free: 32.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.545, allocations: 0.7974 MB / 0.6165 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002335/0.5453, allocations: 73.39 kB / 0.6166 GB, free: 31.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.5453, allocations: 34.81 kB / 0.6166 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/0.5453, allocations: 0 / 0.6166 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of Templates: time 0.01045/0.5558, allocations: 6.494 MB / 0.6229 GB, free: 31.09 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)