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.001157/0.001157, allocations: 108.8 kB / 16.37 MB, free: 6.465 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.001244/0.001244, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.322/1.322, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7653/0.7653, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.91 kB / 0.5068 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3841, allocations: 80.9 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01185/0.3959, allocations: 15.06 MB / 0.6005 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.004401/0.4004, allocations: 3.876 MB / 0.6042 GB, free: 7.57 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006843/0.4011, allocations: 20.47 kB / 0.6043 GB, free: 7.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007063/0.4018, allocations: 196 kB / 0.6045 GB, free: 7.359 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.4039, allocations: 0.6783 MB / 0.6051 GB, free: 6.684 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.4053, allocations: 475.5 kB / 0.6056 GB, free: 6.227 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00123/0.4065, allocations: 1.077 MB / 0.6066 GB, free: 5.152 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.4069, allocations: 290.9 kB / 0.6069 GB, free: 4.871 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.4075, allocations: 399.8 kB / 0.6073 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002816/0.4078, allocations: 264 kB / 0.6075 GB, free: 4.223 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.796e-05/0.4078, allocations: 25.69 kB / 0.6076 GB, free: 4.199 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.4089, allocations: 0.7173 MB / 0.6083 GB, free: 3.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.409, allocations: 71.69 kB / 0.6083 GB, free: 3.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001866/0.4092, allocations: 190.9 kB / 0.6085 GB, free: 3.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.4103, allocations: 0.7215 MB / 0.6092 GB, free: 2.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4103, allocations: 3.938 kB / 0.6092 GB, free: 2.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.549e-06/0.4103, allocations: 0 / 0.6092 GB, free: 2.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.4103, allocations: 6.344 kB / 0.6092 GB, free: 2.496 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.001134/0.4114, allocations: 0.7396 MB / 0.6099 GB, free: 1.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.4115, allocations: 9.109 kB / 0.61 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.4116, allocations: 49.75 kB / 0.61 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.4125, allocations: 0.5093 MB / 0.6105 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.157e-05/0.4126, allocations: 20.31 kB / 0.6105 GB, free: 1.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.949e-05/0.4126, allocations: 20 kB / 0.6105 GB, free: 1.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003177/0.4129, allocations: 176.1 kB / 0.6107 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4129, allocations: 0 / 0.6107 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.767e-05/0.413, allocations: 8 kB / 0.6107 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.413, allocations: 4 kB / 0.6107 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.4133, allocations: 139.8 kB / 0.6108 GB, free: 0.75 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.00103/0.4143, allocations: 0.8595 MB / 0.6117 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.4146, allocations: 122.6 kB / 0.6118 GB, free: 15.66 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.4147, allocations: 68.81 kB / 0.6119 GB, free: 15.59 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003151/0.415, allocations: 343.5 kB / 0.6122 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.4151, allocations: 30.56 kB / 0.6122 GB, free: 15.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.4151, allocations: 0 / 0.6122 GB, free: 15.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.000571/0.4157, allocations: 224.3 kB / 0.6124 GB, free: 14.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.4157, allocations: 59.41 kB / 0.6125 GB, free: 14.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4161, allocations: 345.7 kB / 0.6128 GB, free: 14.5 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.4161, allocations: 29.69 kB / 0.6129 GB, free: 14.47 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.4162, allocations: 188.4 kB / 0.613 GB, free: 14.28 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.4163, allocations: 47.28 kB / 0.6131 GB, free: 14.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.925e-05/0.4163, allocations: 33.72 kB / 0.6131 GB, free: 14.2 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.4165, allocations: 342.8 kB / 0.6134 GB, free: 13.85 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4166, allocations: 52.83 kB / 0.6135 GB, free: 13.8 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.4168, allocations: 88.23 kB / 0.6136 GB, free: 13.7 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.417, allocations: 113.7 kB / 0.6137 GB, free: 13.58 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.417, allocations: 4 kB / 0.6137 GB, free: 13.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003359/0.4174, allocations: 189.1 kB / 0.6139 GB, free: 13.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4174, allocations: 10.33 kB / 0.6139 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4174, allocations: 0 / 0.6139 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.4174, allocations: 0 / 0.6139 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.4176, allocations: 27.92 kB / 0.6139 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.4176, allocations: 0 / 0.6139 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.4178, allocations: 23.89 kB / 0.6139 GB, free: 13.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4178, allocations: 11.98 kB / 0.6139 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001956/0.418, allocations: 152.1 kB / 0.6141 GB, free: 13.16 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001473/0.4182, allocations: 92.19 kB / 0.6142 GB, free: 13.05 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002217/0.4184, allocations: 113.6 kB / 0.6143 GB, free: 12.94 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.021e-06/0.4184, allocations: 4 kB / 0.6143 GB, free: 12.93 MB / 462.1 MB Notification: Performance of matching and sorting (n=12) (initialization_lambda0): time 0.0003214/0.4187, allocations: 169.2 kB / 0.6144 GB, free: 12.76 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.4188, allocations: 7.938 kB / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-06/0.4188, allocations: 0 / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.4188, allocations: 4 kB / 0.6145 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.4189, allocations: 23.97 kB / 0.6145 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.4189, allocations: 4 kB / 0.6145 GB, free: 12.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001618/0.4191, allocations: 19.98 kB / 0.6145 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4191, allocations: 4 kB / 0.6145 GB, free: 12.7 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.0001099/0.4192, allocations: 194.5 kB / 0.6147 GB, free: 12.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.335e-05/0.4193, allocations: 39.47 kB / 0.6147 GB, free: 12.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004693/0.4197, allocations: 224.6 kB / 0.6149 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.4198, allocations: 7.984 kB / 0.6149 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.4198, allocations: 0 / 0.6149 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4198, allocations: 4 kB / 0.615 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/0.4206, allocations: 0.6304 MB / 0.6156 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.4207, allocations: 4 kB / 0.6156 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.858e-05/0.4208, allocations: 19.98 kB / 0.6156 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.4208, allocations: 4 kB / 0.6156 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.4208, allocations: 8.094 kB / 0.6156 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.4208, allocations: 7.938 kB / 0.6156 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4208, allocations: 0 / 0.6156 GB, free: 11.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003989/0.4212, allocations: 324.3 kB / 0.6159 GB, free: 11.15 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.4213, allocations: 124.6 kB / 0.616 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.4214, allocations: 8 kB / 0.616 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4216, allocations: 12.05 kB / 0.6161 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.4216, allocations: 23.86 kB / 0.6161 GB, free: 10.97 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.4217, allocations: 4 kB / 0.6161 GB, free: 10.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002281/0.4219, allocations: 247.2 kB / 0.6163 GB, free: 10.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4219, allocations: 0 / 0.6163 GB, free: 10.73 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006186/0.4225, allocations: 199.6 kB / 0.6165 GB, free: 10.53 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.0005096/0.423, allocations: 241 kB / 0.6167 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0004811/0.4235, allocations: 192.8 kB / 0.6169 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4235, allocations: 0 / 0.6169 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.4237, allocations: 75.89 kB / 0.617 GB, free: 10.03 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/0.4244, allocations: 143.2 kB / 0.6171 GB, free: 9.898 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.4252, allocations: 0.5554 MB / 0.6177 GB, free: 9.305 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.4256, allocations: 0.7957 MB / 0.6185 GB, free: 8.48 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002057/0.4258, allocations: 73.39 kB / 0.6185 GB, free: 8.414 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.4259, allocations: 31.38 kB / 0.6186 GB, free: 8.383 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4259, allocations: 4 kB / 0.6186 GB, free: 8.379 MB / 462.1 MB Notification: Performance of Templates: time 0.01114/0.437, allocations: 6.578 MB / 0.625 GB, free: 1.918 MB / 462.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1)