Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001449/0.001449, allocations: 99.86 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.001554/0.001554, 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 3.2.3+maint.om/package.mo): time 1.383/1.383, allocations: 205.4 MB / 222.1 MB, free: 5.895 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4098/0.4098, allocations: 54.98 MB / 325.4 MB, free: 0.75 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009045/0.0009047, allocations: 16 kB / 396.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.3681, allocations: 60.71 MB / 457.3 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.1598/0.5279, allocations: 135.8 MB / 0.5792 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003593/0.5316, allocations: 2.078 MB / 0.5812 GB, free: 13.63 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002784/0.5319, allocations: 11.88 kB / 0.5812 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006687/0.5325, allocations: 179.2 kB / 0.5814 GB, free: 13.44 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001655/0.5342, allocations: 0.5453 MB / 0.5819 GB, free: 12.89 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.5356, allocations: 349.7 kB / 0.5822 GB, free: 12.56 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.5374, allocations: 0.6449 MB / 0.5829 GB, free: 11.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004601/0.5379, allocations: 217.4 kB / 0.5831 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000901/0.5388, allocations: 438.6 kB / 0.5835 GB, free: 11.27 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.5391, allocations: 187.3 kB / 0.5837 GB, free: 11.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.274e-05/0.5392, allocations: 12 kB / 0.5837 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007571/0.5399, allocations: 459.2 kB / 0.5841 GB, free: 10.62 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.5401, allocations: 127.7 kB / 0.5842 GB, free: 10.5 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001108/0.5402, allocations: 105.5 kB / 0.5843 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007265/0.5409, allocations: 0.535 MB / 0.5849 GB, free: 9.867 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.5409, allocations: 0 / 0.5849 GB, free: 9.867 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.541, allocations: 4 kB / 0.5849 GB, free: 9.863 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.541, allocations: 0 / 0.5849 GB, free: 9.863 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.001312/0.5423, allocations: 0.6679 MB / 0.5855 GB, free: 9.148 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5423, allocations: 12.03 kB / 0.5855 GB, free: 9.137 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.5426, allocations: 50.95 kB / 0.5856 GB, free: 9.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005611/0.5431, allocations: 346.6 kB / 0.5859 GB, free: 8.711 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.5432, allocations: 22.28 kB / 0.5859 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.5432, allocations: 28 kB / 0.586 GB, free: 8.664 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001164/0.5444, allocations: 408 kB / 0.5864 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.5444, allocations: 4 kB / 0.5864 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/0.5445, allocations: 12 kB / 0.5864 GB, free: 8.246 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.131e-05/0.5445, allocations: 11.95 kB / 0.5864 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5455, allocations: 349.9 kB / 0.5867 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001829/0.5474, allocations: 1.092 MB / 0.5878 GB, free: 6.707 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008037/0.5482, allocations: 218.5 kB / 0.588 GB, free: 6.484 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.5482, allocations: 7.969 kB / 0.588 GB, free: 6.477 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.5483, allocations: 38.88 kB / 0.588 GB, free: 6.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=12): time 5.149e-06/0.5483, allocations: 0 / 0.588 GB, free: 6.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=12): time 0.001698/0.55, allocations: 446.8 kB / 0.5885 GB, free: 5.988 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.55, allocations: 51.41 kB / 0.5885 GB, free: 5.926 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.5505, allocations: 405.6 kB / 0.5889 GB, free: 5.523 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.485e-05/0.5506, allocations: 30.83 kB / 0.5889 GB, free: 5.488 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.5507, allocations: 215.9 kB / 0.5891 GB, free: 5.273 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/0.5508, allocations: 43.36 kB / 0.5892 GB, free: 5.23 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.248e-05/0.5508, allocations: 4 kB / 0.5892 GB, free: 5.227 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.551, allocations: 346.8 kB / 0.5895 GB, free: 4.879 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003082/0.5513, allocations: 99.88 kB / 0.5896 GB, free: 4.781 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.5516, allocations: 153.4 kB / 0.5897 GB, free: 4.609 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003196/0.552, allocations: 119.9 kB / 0.5899 GB, free: 4.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.552, allocations: 0 / 0.5899 GB, free: 4.492 MB / 462.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007442/0.5527, allocations: 301 kB / 0.5901 GB, free: 4.191 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002332/0.553, allocations: 0.6162 MB / 0.5908 GB, free: 3.527 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.553, allocations: 5.062 kB / 0.5908 GB, free: 3.523 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.553, allocations: 4.562 kB / 0.5908 GB, free: 3.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003203/0.5533, allocations: 63.89 kB / 0.5908 GB, free: 3.457 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.5533, allocations: 3.953 kB / 0.5908 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003645/0.5537, allocations: 55.66 kB / 0.5909 GB, free: 3.398 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.5537, allocations: 8 kB / 0.5909 GB, free: 3.391 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.5538, allocations: 4 kB / 0.5909 GB, free: 3.387 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003899/0.5542, allocations: 194.2 kB / 0.5911 GB, free: 3.199 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-06/0.5542, allocations: 4 kB / 0.5911 GB, free: 3.195 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-06/0.5542, allocations: 4 kB / 0.5911 GB, free: 3.191 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.5544, allocations: 35.98 kB / 0.5911 GB, free: 3.156 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.5544, allocations: 8.953 kB / 0.5911 GB, free: 3.148 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.5546, allocations: 47.78 kB / 0.5912 GB, free: 3.102 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.5546, allocations: 4 kB / 0.5912 GB, free: 3.098 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0002223/0.5549, allocations: 237.1 kB / 0.5914 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.5549, allocations: 41.03 kB / 0.5914 GB, free: 2.816 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.914e-05/0.555, allocations: 44.61 kB / 0.5915 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5551, allocations: 0 / 0.5915 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.5551, allocations: 0 / 0.5915 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5551, allocations: 0 / 0.5915 GB, free: 2.77 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.5563, allocations: 0.749 MB / 0.5922 GB, free: 1.945 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.167e-06/0.5563, allocations: 4 kB / 0.5922 GB, free: 1.941 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002412/0.5566, allocations: 52.08 kB / 0.5923 GB, free: 1.891 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5566, allocations: 4 kB / 0.5923 GB, free: 1.887 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.5566, allocations: 5.062 kB / 0.5923 GB, free: 1.883 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5566, allocations: 4 kB / 0.5923 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.5566, allocations: 0 / 0.5923 GB, free: 1.879 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000777/0.5574, allocations: 470.3 kB / 0.5927 GB, free: 1.348 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.5576, allocations: 144.6 kB / 0.5929 GB, free: 1.188 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.5577, allocations: 4 kB / 0.5929 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004171/0.5581, allocations: 39.95 kB / 0.5929 GB, free: 1.145 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.712e-05/0.5582, allocations: 20.75 kB / 0.5929 GB, free: 1.125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/0.5582, allocations: 12.73 kB / 0.5929 GB, free: 1.113 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002993/0.5585, allocations: 287.1 kB / 0.5932 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5585, allocations: 0 / 0.5932 GB, free: 0.8359 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006724/0.5592, allocations: 203.7 kB / 0.5934 GB, free: 0.6367 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (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 Backend phase and start with SimCode phase: time 0.0004417/0.5597, allocations: 193.3 kB / 0.5936 GB, free: 460 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008811/0.5606, allocations: 319.3 kB / 0.5939 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5606, allocations: 0 / 0.5939 GB, free: 144 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003172/0.5609, allocations: 112 kB / 0.594 GB, free: 32 kB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001077/0.562, allocations: 219.2 kB / 0.5942 GB, free: 15.83 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.5632, allocations: 0.7804 MB / 0.595 GB, free: 15.01 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003837/0.5636, allocations: 0.8116 MB / 0.5958 GB, free: 14.18 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0004001/0.564, allocations: 92.62 kB / 0.5959 GB, free: 14.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.362e-05/0.5641, allocations: 35.42 kB / 0.5959 GB, free: 14.05 MB / 478.1 MB Notification: Performance of SimCode: time 6.22e-07/0.5641, allocations: 0 / 0.5959 GB, free: 14.05 MB / 478.1 MB Notification: Performance of Templates: time 0.01416/0.5783, allocations: 7.559 MB / 0.6033 GB, free: 6.617 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.HydraulicDiameter.pipe 2>&1) Environment - environmentSimulation: