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-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_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.0008746/0.0008748, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0008612/0.0008612, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.183/1.183, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8695/0.8695, allocations: 135.2 MB / 426.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003366/0.0003366, allocations: 8 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1676, allocations: 82.31 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.0123/0.1799, allocations: 12.63 MB / 0.5995 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004706/0.1847, allocations: 3.328 MB / 0.6028 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004191/0.1852, allocations: 19.88 kB / 0.6028 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005867/0.1858, allocations: 179.1 kB / 0.603 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001682/0.1874, allocations: 0.6583 MB / 0.6036 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.1889, allocations: 0.5408 MB / 0.6041 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001409/0.1903, allocations: 0.73 MB / 0.6049 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.1907, allocations: 224.7 kB / 0.6051 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005763/0.1913, allocations: 334.8 kB / 0.6054 GB, free: 468 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002168/0.1915, allocations: 183.2 kB / 0.6056 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.667e-05/0.1916, allocations: 12 kB / 0.6056 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.2965/0.4881, allocations: 0.4967 MB / 0.6061 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001604/0.4883, allocations: 59.52 kB / 0.6061 GB, free: 35.27 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.4885, allocations: 95.91 kB / 0.6062 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006514/0.4892, allocations: 450.9 kB / 0.6066 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.4892, allocations: 0 / 0.6066 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4892, allocations: 4.547 kB / 0.6066 GB, free: 35.2 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.4892, allocations: 0.5625 kB / 0.6066 GB, free: 35.2 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.0008321/0.49, allocations: 0.6666 MB / 0.6073 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.4901, allocations: 13.34 kB / 0.6073 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.558e-05/0.4901, allocations: 42.72 kB / 0.6073 GB, free: 34.66 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.4908, allocations: 416.3 kB / 0.6077 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.4908, allocations: 12.95 kB / 0.6078 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/0.4908, allocations: 16.75 kB / 0.6078 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003174/0.4912, allocations: 177.8 kB / 0.6079 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4912, allocations: 5.406 kB / 0.6079 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.4912, allocations: 13.89 kB / 0.608 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4912, allocations: 6.688 kB / 0.608 GB, free: 34.39 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002877/0.4915, allocations: 145 kB / 0.6081 GB, free: 34.39 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.0009066/0.4924, allocations: 0.8852 MB / 0.609 GB, free: 33.85 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.4927, allocations: 133.3 kB / 0.6091 GB, free: 33.82 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001839/0.4929, allocations: 337.2 kB / 0.6094 GB, free: 33.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.751e-05/0.4929, allocations: 34.25 kB / 0.6094 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 1.312e-06/0.4929, allocations: 0 / 0.6094 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0004538/0.4934, allocations: 232.5 kB / 0.6097 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/0.4934, allocations: 60.27 kB / 0.6097 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002932/0.4937, allocations: 367.2 kB / 0.6101 GB, free: 33.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.4937, allocations: 31.58 kB / 0.6101 GB, free: 33.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.328e-05/0.4938, allocations: 199.2 kB / 0.6103 GB, free: 33.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.4939, allocations: 38.92 kB / 0.6103 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.4939, allocations: 5.875 kB / 0.6103 GB, free: 33.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.4939, allocations: 339.5 kB / 0.6107 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.494, allocations: 49.25 kB / 0.6107 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4942, allocations: 97.66 kB / 0.6108 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4943, allocations: 58.25 kB / 0.6109 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4943, allocations: 2.812 kB / 0.6109 GB, free: 32.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002946/0.4946, allocations: 188.5 kB / 0.611 GB, free: 32.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.497e-05/0.4947, allocations: 180.6 kB / 0.6112 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.4947, allocations: 12.77 kB / 0.6112 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.4947, allocations: 0 / 0.6112 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.4948, allocations: 28.78 kB / 0.6113 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.945e-06/0.4948, allocations: 0 / 0.6113 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.495, allocations: 38.45 kB / 0.6113 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.495, allocations: 5.938 kB / 0.6113 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-06/0.4951, allocations: 3.125 kB / 0.6113 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002479/0.4953, allocations: 133.8 kB / 0.6114 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-06/0.4953, allocations: 0 / 0.6114 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.4953, allocations: 0 / 0.6114 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.753e-05/0.4954, allocations: 29.84 kB / 0.6115 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.174e-06/0.4954, allocations: 3.234 kB / 0.6115 GB, free: 32.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.4956, allocations: 35.91 kB / 0.6115 GB, free: 32.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4957, allocations: 2.906 kB / 0.6115 GB, free: 32.41 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.4958, allocations: 227.4 kB / 0.6117 GB, free: 32.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.533e-05/0.4958, allocations: 34.84 kB / 0.6117 GB, free: 32.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003965/0.4962, allocations: 227.4 kB / 0.612 GB, free: 32.16 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.4962, allocations: 7.234 kB / 0.612 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4963, allocations: 2.938 kB / 0.612 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.4963, allocations: 0 / 0.612 GB, free: 32.15 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006791/0.4969, allocations: 0.6603 MB / 0.6126 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.497, allocations: 0 / 0.6126 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.768e-05/0.4971, allocations: 25.83 kB / 0.6126 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.4971, allocations: 3.469 kB / 0.6126 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.185e-05/0.4971, allocations: 9.516 kB / 0.6127 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4971, allocations: 6.859 kB / 0.6127 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.4971, allocations: 0 / 0.6127 GB, free: 31.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003254/0.4974, allocations: 360.6 kB / 0.613 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.938e-05/0.4975, allocations: 139.7 kB / 0.6131 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.4976, allocations: 10.5 kB / 0.6131 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.4978, allocations: 21.72 kB / 0.6132 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4979, allocations: 15.94 kB / 0.6132 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.341e-05/0.4979, allocations: 5.781 kB / 0.6132 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000248/0.4981, allocations: 268.2 kB / 0.6134 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.042e-06/0.4981, allocations: 0 / 0.6134 GB, free: 31.38 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005241/0.4987, allocations: 194.3 kB / 0.6136 GB, free: 31.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00045/0.4991, allocations: 260.2 kB / 0.6139 GB, free: 31.23 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004547/0.4996, allocations: 203.4 kB / 0.6141 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4996, allocations: 0 / 0.6141 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.4998, allocations: 85.28 kB / 0.6142 GB, free: 31.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007212/0.5005, allocations: 151 kB / 0.6143 GB, free: 31.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007226/0.5012, allocations: 0.6832 MB / 0.615 GB, free: 30.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/0.5014, allocations: 0.8044 MB / 0.6158 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002026/0.5016, allocations: 71.27 kB / 0.6158 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.392e-05/0.5017, allocations: 33.12 kB / 0.6158 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.5017, allocations: 0 / 0.6158 GB, free: 30.1 MB / 0.4981 GB Notification: Performance of Templates: time 0.009353/0.5111, allocations: 6.53 MB / 0.6222 GB, free: 29.61 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: