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.000861/0.000861, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.004816/0.004816, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.884/0.884, allocations: 135.7 MB / 427.1 MB, free: 14.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002643/0.0002642, allocations: 16 kB / 0.5081 GB, free: 4.359 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.143, allocations: 82.41 MB / 0.5886 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01425/0.1573, allocations: 14.47 MB / 0.6027 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2279/0.3852, allocations: 3.863 MB / 0.6065 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005272/0.3858, allocations: 18.72 kB / 0.6065 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004553/0.3863, allocations: 158.5 kB / 0.6067 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001242/0.3875, allocations: 0.614 MB / 0.6073 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008758/0.3884, allocations: 425.7 kB / 0.6077 GB, free: 34.28 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001014/0.3894, allocations: 1.371 MB / 0.609 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002606/0.3897, allocations: 243.6 kB / 0.6092 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000412/0.3901, allocations: 366.2 kB / 0.6096 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002254/0.3903, allocations: 267.4 kB / 0.6098 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.3904, allocations: 10.72 kB / 0.6098 GB, free: 34.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007405/0.3911, allocations: 0.696 MB / 0.6105 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.572e-05/0.3912, allocations: 67.36 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.3913, allocations: 202.8 kB / 0.6108 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005927/0.3919, allocations: 0.6942 MB / 0.6115 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3919, allocations: 0 / 0.6115 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3919, allocations: 0 / 0.6115 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.392, allocations: 3.281 kB / 0.6115 GB, free: 34.05 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.0007321/0.3927, allocations: 0.6802 MB / 0.6121 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.638e-05/0.3927, allocations: 8.75 kB / 0.6121 GB, free: 33.51 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.056e-05/0.3928, allocations: 47.12 kB / 0.6122 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000606/0.3934, allocations: 499.3 kB / 0.6127 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3934, allocations: 16.98 kB / 0.6127 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.737e-05/0.3935, allocations: 16.88 kB / 0.6127 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003194/0.3938, allocations: 188.3 kB / 0.6129 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3938, allocations: 0 / 0.6129 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.3938, allocations: 8.25 kB / 0.6129 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3938, allocations: 2.938 kB / 0.6129 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.3941, allocations: 149.9 kB / 0.613 GB, free: 33.19 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.0008013/0.3949, allocations: 0.865 MB / 0.6139 GB, free: 32.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.3952, allocations: 122.7 kB / 0.614 GB, free: 32.61 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.3953, allocations: 85.11 kB / 0.6141 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001911/0.3955, allocations: 337.1 kB / 0.6144 GB, free: 32.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.231e-05/0.3955, allocations: 36.47 kB / 0.6144 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.3955, allocations: 0 / 0.6144 GB, free: 32.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004622/0.396, allocations: 242.4 kB / 0.6147 GB, free: 32.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.743e-05/0.396, allocations: 54.38 kB / 0.6147 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.3963, allocations: 344.5 kB / 0.615 GB, free: 31.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3963, allocations: 28.98 kB / 0.6151 GB, free: 31.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3964, allocations: 192.9 kB / 0.6152 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.436e-05/0.3964, allocations: 41.89 kB / 0.6153 GB, free: 31.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.3964, allocations: 19.41 kB / 0.6153 GB, free: 31.78 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.957e-05/0.3965, allocations: 344.3 kB / 0.6156 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.3966, allocations: 52.17 kB / 0.6157 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.3967, allocations: 97.7 kB / 0.6158 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.397, allocations: 124.4 kB / 0.6159 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.397, allocations: 3.844 kB / 0.6159 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002971/0.3973, allocations: 187.8 kB / 0.6161 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.3973, allocations: 102.6 kB / 0.6162 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.3973, allocations: 2.656 kB / 0.6162 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3973, allocations: 4 kB / 0.6162 GB, free: 31.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.3975, allocations: 31.62 kB / 0.6162 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3975, allocations: 2.875 kB / 0.6162 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.3977, allocations: 32.75 kB / 0.6162 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.3977, allocations: 13.34 kB / 0.6163 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.048e-06/0.3977, allocations: 2.906 kB / 0.6163 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002493/0.398, allocations: 118.4 kB / 0.6164 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-06/0.398, allocations: 0 / 0.6164 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-06/0.398, allocations: 2.844 kB / 0.6164 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3981, allocations: 28.36 kB / 0.6164 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.3981, allocations: 2.938 kB / 0.6164 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001844/0.3983, allocations: 32.81 kB / 0.6164 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.3983, allocations: 7.438 kB / 0.6164 GB, free: 31.21 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 0.0001112/0.3984, allocations: 227.1 kB / 0.6167 GB, free: 31.01 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.3985, allocations: 36.03 kB / 0.6167 GB, free: 30.99 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004035/0.3989, allocations: 239.1 kB / 0.6169 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.3989, allocations: 6.406 kB / 0.6169 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.3989, allocations: 7.938 kB / 0.6169 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3989, allocations: 0 / 0.6169 GB, free: 30.94 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.3995, allocations: 0.6452 MB / 0.6176 GB, free: 30.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.3995, allocations: 6.75 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.453e-05/0.3996, allocations: 27.66 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.3997, allocations: 2.906 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3997, allocations: 5 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3997, allocations: 7.812 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3997, allocations: 3.547 kB / 0.6176 GB, free: 30.59 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.4, allocations: 324.6 kB / 0.6179 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.412e-05/0.4001, allocations: 127.2 kB / 0.618 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.562e-05/0.4001, allocations: 8.969 kB / 0.6181 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.4003, allocations: 32.44 kB / 0.6181 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.4004, allocations: 14.08 kB / 0.6181 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/0.4004, allocations: 6.25 kB / 0.6181 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001648/0.4006, allocations: 246.8 kB / 0.6183 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.4006, allocations: 4 kB / 0.6183 GB, free: 30.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004494/0.401, allocations: 189.1 kB / 0.6185 GB, free: 30.16 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.0003918/0.4014, allocations: 237.6 kB / 0.6188 GB, free: 30.05 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004189/0.4019, allocations: 214.1 kB / 0.619 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4019, allocations: 0 / 0.619 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.402, allocations: 87.8 kB / 0.619 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007614/0.4028, allocations: 147.5 kB / 0.6192 GB, free: 30.02 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.4034, allocations: 0.6899 MB / 0.6199 GB, free: 29.59 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001516/0.4036, allocations: 0.7931 MB / 0.6206 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001975/0.4038, allocations: 78.95 kB / 0.6207 GB, free: 28.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4038, allocations: 34.28 kB / 0.6207 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.4038, allocations: 0 / 0.6207 GB, free: 28.87 MB / 0.4981 GB Notification: Performance of Templates: time 0.009373/0.4132, allocations: 6.266 MB / 0.6269 GB, free: 28.41 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)