Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.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.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Annex60.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001224/0.001224, allocations: 100 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.001336/0.001336, allocations: 177.3 kB / 15.94 MB, free: 228 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.425/1.425, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4148/0.4148, allocations: 54.99 MB / 325.4 MB, free: 0.7266 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.0005033/0.0005033, allocations: 12 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3045/0.305, allocations: 60.71 MB / 457.3 MB, free: 38.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Examples.PressureDrop): time 0.1416/0.4467, allocations: 135.6 MB / 0.579 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.4492, allocations: 1.491 MB / 0.5805 GB, free: 14.22 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.4494, allocations: 7.938 kB / 0.5805 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005715/0.45, allocations: 171.2 kB / 0.5806 GB, free: 14.05 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008626/0.4508, allocations: 391.7 kB / 0.581 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000917/0.4518, allocations: 359.2 kB / 0.5813 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007788/0.4526, allocations: 0.5007 MB / 0.5818 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003932/0.453, allocations: 198.4 kB / 0.582 GB, free: 12.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008306/0.4538, allocations: 382.8 kB / 0.5824 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.4541, allocations: 175.3 kB / 0.5826 GB, free: 12.09 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.371e-05/0.4541, allocations: 12 kB / 0.5826 GB, free: 12.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.4546, allocations: 291.6 kB / 0.5828 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001397/0.4547, allocations: 129.2 kB / 0.583 GB, free: 11.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001023/0.4549, allocations: 101.5 kB / 0.5831 GB, free: 11.56 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005463/0.4554, allocations: 439.8 kB / 0.5835 GB, free: 11.14 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4554, allocations: 7.938 kB / 0.5835 GB, free: 11.13 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4554, allocations: 0 / 0.5835 GB, free: 11.13 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4555, allocations: 4 kB / 0.5835 GB, free: 11.13 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001208/0.4567, allocations: 0.6058 MB / 0.5841 GB, free: 10.48 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.4567, allocations: 12.03 kB / 0.5841 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002907/0.457, allocations: 51.52 kB / 0.5841 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.4575, allocations: 315.1 kB / 0.5844 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.4575, allocations: 20.56 kB / 0.5845 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.4576, allocations: 29.7 kB / 0.5845 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.4586, allocations: 396.7 kB / 0.5849 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.4586, allocations: 0 / 0.5849 GB, free: 9.633 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.982e-05/0.4587, allocations: 12 kB / 0.5849 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.4587, allocations: 4 kB / 0.5849 GB, free: 9.617 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008972/0.4596, allocations: 342.5 kB / 0.5852 GB, free: 9.281 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.4612, allocations: 1.076 MB / 0.5863 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.4619, allocations: 207.3 kB / 0.5865 GB, free: 7.898 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.301e-05/0.4619, allocations: 4.031 kB / 0.5865 GB, free: 7.895 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.462, allocations: 35.44 kB / 0.5865 GB, free: 7.852 MB / 462.1 MB Notification: Performance of pre-optimization done (n=11): time 2.455e-06/0.462, allocations: 3.984 kB / 0.5865 GB, free: 7.848 MB / 462.1 MB Notification: Performance of matching and sorting (n=11): time 0.00141/0.4634, allocations: 405.9 kB / 0.5869 GB, free: 7.445 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.4634, allocations: 55.41 kB / 0.5869 GB, free: 7.379 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.4638, allocations: 369.7 kB / 0.5873 GB, free: 7.012 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.4639, allocations: 29.7 kB / 0.5873 GB, free: 6.977 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.464, allocations: 207.9 kB / 0.5875 GB, free: 6.77 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.248e-05/0.464, allocations: 39.45 kB / 0.5876 GB, free: 6.73 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.048e-05/0.4641, allocations: 224 / 0.5876 GB, free: 6.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.4642, allocations: 338.8 kB / 0.5879 GB, free: 6.391 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.4645, allocations: 104.8 kB / 0.588 GB, free: 6.289 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003196/0.4648, allocations: 170.1 kB / 0.5881 GB, free: 6.098 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002767/0.4651, allocations: 108.7 kB / 0.5882 GB, free: 5.992 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4651, allocations: 0 / 0.5882 GB, free: 5.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006558/0.4658, allocations: 306.6 kB / 0.5885 GB, free: 5.688 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002422/0.466, allocations: 0.6163 MB / 0.5891 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.466, allocations: 1.625 kB / 0.5891 GB, free: 5.023 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.4661, allocations: 4 kB / 0.5891 GB, free: 5.02 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002678/0.4663, allocations: 55.89 kB / 0.5892 GB, free: 4.965 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.4663, allocations: 8.562 kB / 0.5892 GB, free: 4.957 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003149/0.4667, allocations: 63.52 kB / 0.5893 GB, free: 4.895 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4667, allocations: 4 kB / 0.5893 GB, free: 4.891 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.426e-06/0.4667, allocations: 4 kB / 0.5893 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003395/0.467, allocations: 185.1 kB / 0.5895 GB, free: 4.707 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4671, allocations: 4 kB / 0.5895 GB, free: 4.703 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-06/0.4671, allocations: 4.562 kB / 0.5895 GB, free: 4.699 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.4673, allocations: 44.05 kB / 0.5895 GB, free: 4.656 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.4673, allocations: 3.984 kB / 0.5895 GB, free: 4.652 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/0.4675, allocations: 35.77 kB / 0.5895 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.33e-05/0.4675, allocations: 8 kB / 0.5896 GB, free: 4.609 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 (19): * Single equations (assignments): 19 * 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.0002276/0.4677, allocations: 229 kB / 0.5898 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.4678, allocations: 44.7 kB / 0.5898 GB, free: 4.332 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.129e-05/0.4679, allocations: 38.84 kB / 0.5898 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4679, allocations: 0 / 0.5898 GB, free: 4.285 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/0.4679, allocations: 4.75 kB / 0.5899 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.4679, allocations: 0 / 0.5899 GB, free: 4.281 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.4692, allocations: 0.7256 MB / 0.5906 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.4692, allocations: 1 kB / 0.5906 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.4694, allocations: 43.97 kB / 0.5906 GB, free: 3.438 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.4695, allocations: 4.188 kB / 0.5906 GB, free: 3.434 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4695, allocations: 4 kB / 0.5906 GB, free: 3.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4695, allocations: 4 kB / 0.5906 GB, free: 3.426 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.4695, allocations: 3.938 kB / 0.5906 GB, free: 3.422 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007658/0.4703, allocations: 469 kB / 0.5911 GB, free: 2.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002023/0.4705, allocations: 140.6 kB / 0.5912 GB, free: 2.738 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.418e-05/0.4705, allocations: 8 kB / 0.5912 GB, free: 2.73 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003666/0.4709, allocations: 35.95 kB / 0.5912 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.471, allocations: 23.88 kB / 0.5913 GB, free: 2.672 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.4711, allocations: 13.69 kB / 0.5913 GB, free: 2.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0002961/0.4714, allocations: 271.1 kB / 0.5915 GB, free: 2.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4714, allocations: 0 / 0.5915 GB, free: 2.398 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.4719, allocations: 151.8 kB / 0.5917 GB, free: 2.25 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 (11): * Single equations (assignments): 11 * 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.0003506/0.4723, allocations: 137 kB / 0.5918 GB, free: 2.117 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000802/0.4731, allocations: 320.8 kB / 0.5921 GB, free: 1.805 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.4731, allocations: 8.188 kB / 0.5921 GB, free: 1.797 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002778/0.4734, allocations: 100.4 kB / 0.5922 GB, free: 1.699 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009746/0.4744, allocations: 211 kB / 0.5924 GB, free: 1.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000992/0.4754, allocations: 0.7034 MB / 0.5931 GB, free: 0.7578 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.4757, allocations: 0.8 MB / 0.5939 GB, free: 15.93 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003215/0.4761, allocations: 84 kB / 0.594 GB, free: 15.85 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.262e-05/0.4762, allocations: 31.42 kB / 0.594 GB, free: 15.82 MB / 478.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4762, allocations: 0 / 0.594 GB, free: 15.82 MB / 478.1 MB Notification: Performance of Templates: time 0.01067/0.4868, allocations: 6.532 MB / 0.6004 GB, free: 9.398 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) Environment - environmentSimulation: