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.001579/0.001579, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002221/0.00222, allocations: 198.2 kB / 16.79 MB, free: 6.809 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.552/1.552, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9582/0.9582, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 67.94 kB / 0.5053 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 80.92 MB / 0.5843 GB, free: 5.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01571/0.1964, allocations: 15.01 MB / 0.599 GB, free: 5.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005715/0.2021, allocations: 3.912 MB / 0.6028 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005843/0.2028, allocations: 19.88 kB / 0.6028 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006133/0.2034, allocations: 151.1 kB / 0.603 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.2051, allocations: 0.6067 MB / 0.6036 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2064, allocations: 425.9 kB / 0.604 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3296/0.536, allocations: 1.369 MB / 0.6053 GB, free: 36.21 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004993/0.5365, allocations: 246.3 kB / 0.6055 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006654/0.5372, allocations: 365.1 kB / 0.6059 GB, free: 36.2 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003177/0.5376, allocations: 275.5 kB / 0.6062 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.5376, allocations: 14.47 kB / 0.6062 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.5388, allocations: 0.6975 MB / 0.6069 GB, free: 36.19 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.769e-05/0.5389, allocations: 65.59 kB / 0.6069 GB, free: 36.17 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001692/0.539, allocations: 181.3 kB / 0.6071 GB, free: 36.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005957/0.5396, allocations: 0.4969 MB / 0.6076 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.5396, allocations: 4.406 kB / 0.6076 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.5397, allocations: 0 / 0.6076 GB, free: 36.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.5397, allocations: 0.6562 kB / 0.6076 GB, free: 36.09 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.0009829/0.5407, allocations: 0.7487 MB / 0.6083 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.5407, allocations: 8.969 kB / 0.6083 GB, free: 35.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.5408, allocations: 41.59 kB / 0.6084 GB, free: 35.54 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007412/0.5415, allocations: 0.4924 MB / 0.6088 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.5416, allocations: 13.77 kB / 0.6089 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.855e-05/0.5416, allocations: 24.91 kB / 0.6089 GB, free: 35.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.542, allocations: 176.2 kB / 0.609 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.542, allocations: 0 / 0.609 GB, free: 35.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.542, allocations: 9.75 kB / 0.6091 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.542, allocations: 2.5 kB / 0.6091 GB, free: 35.24 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002967/0.5423, allocations: 138.7 kB / 0.6092 GB, free: 35.24 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.0009171/0.5432, allocations: 0.8622 MB / 0.61 GB, free: 34.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002351/0.5435, allocations: 118.2 kB / 0.6101 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.5436, allocations: 80 kB / 0.6102 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.5439, allocations: 332.1 kB / 0.6105 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.544, allocations: 39.56 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.544, allocations: 2.25 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0005352/0.5445, allocations: 218.9 kB / 0.6108 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.5445, allocations: 55.41 kB / 0.6108 GB, free: 34.12 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.5448, allocations: 342.1 kB / 0.6112 GB, free: 34.01 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.702e-05/0.5449, allocations: 32.52 kB / 0.6112 GB, free: 33.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.282e-05/0.545, allocations: 192.6 kB / 0.6114 GB, free: 33.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.108e-05/0.545, allocations: 46.25 kB / 0.6114 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.304e-05/0.545, allocations: 38.41 kB / 0.6115 GB, free: 33.83 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.063e-05/0.5451, allocations: 343.4 kB / 0.6118 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001273/0.5452, allocations: 58.42 kB / 0.6118 GB, free: 33.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.5454, allocations: 85.34 kB / 0.6119 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.5456, allocations: 120.4 kB / 0.612 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5457, allocations: 0 / 0.612 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003489/0.546, allocations: 181.9 kB / 0.6122 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.546, allocations: 6.469 kB / 0.6122 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.546, allocations: 0 / 0.6122 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.5461, allocations: 3.938 kB / 0.6122 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5462, allocations: 27 kB / 0.6122 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.5462, allocations: 7.219 kB / 0.6123 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.5464, allocations: 26.53 kB / 0.6123 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.256e-05/0.5465, allocations: 6.031 kB / 0.6123 GB, free: 33.39 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001837/0.5467, allocations: 158.2 kB / 0.6124 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001352/0.5468, allocations: 85.91 kB / 0.6125 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002153/0.547, allocations: 116.4 kB / 0.6126 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.11e-07/0.547, allocations: 0 / 0.6126 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0002977/0.5473, allocations: 174.8 kB / 0.6128 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/0.5474, allocations: 5.906 kB / 0.6128 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-06/0.5474, allocations: 3.25 kB / 0.6128 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-06/0.5474, allocations: 0 / 0.6128 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.5475, allocations: 29.48 kB / 0.6128 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-06/0.5475, allocations: 4 kB / 0.6128 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.5477, allocations: 19.36 kB / 0.6129 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.5477, allocations: 14.12 kB / 0.6129 GB, free: 33.19 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.683e-05/0.5478, allocations: 190.7 kB / 0.6131 GB, free: 33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.441e-05/0.5478, allocations: 35.84 kB / 0.6131 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004411/0.5483, allocations: 229.6 kB / 0.6133 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.083e-06/0.5483, allocations: 0 / 0.6133 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5483, allocations: 0 / 0.6133 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5483, allocations: 0 / 0.6133 GB, free: 32.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007114/0.549, allocations: 0.6352 MB / 0.6139 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.549, allocations: 3.234 kB / 0.6139 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.983e-05/0.5491, allocations: 26.33 kB / 0.614 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.5492, allocations: 3.094 kB / 0.614 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.5492, allocations: 0.7969 kB / 0.614 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5492, allocations: 6.688 kB / 0.614 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.5492, allocations: 0 / 0.614 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.5495, allocations: 327.7 kB / 0.6143 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.43e-05/0.5496, allocations: 124.2 kB / 0.6144 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.552e-05/0.5497, allocations: 2.688 kB / 0.6144 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/0.5499, allocations: 28.47 kB / 0.6144 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.335e-05/0.55, allocations: 6.203 kB / 0.6144 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.55, allocations: 12.59 kB / 0.6144 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001937/0.5502, allocations: 249.3 kB / 0.6147 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5502, allocations: 2.625 kB / 0.6147 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005669/0.5508, allocations: 189.6 kB / 0.6149 GB, free: 32.18 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.000489/0.5513, allocations: 249.1 kB / 0.6151 GB, free: 32.07 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004506/0.5517, allocations: 188.7 kB / 0.6153 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.5517, allocations: 0 / 0.6153 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.5519, allocations: 80.3 kB / 0.6154 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000797/0.5527, allocations: 146.7 kB / 0.6155 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000748/0.5535, allocations: 0.7041 MB / 0.6162 GB, free: 31.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5536, allocations: 0.7909 MB / 0.617 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.25e-05/0.5537, allocations: 30.23 kB / 0.617 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5537, allocations: 0 / 0.617 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.007267/0.561, allocations: 5.749 MB / 0.6226 GB, free: 30.38 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)