Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.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.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(Annex60.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008737/0.008737, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001419/0.001419, allocations: 196.8 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4256/0.4256, allocations: 54.94 MB / 324.8 MB, free: 16 MB / 270.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.001451/0.001451, allocations: 67.59 kB / 456.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1554, allocations: 59.6 MB / 0.5037 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.FixedResistances.Validation.LosslessPipe): time 0.5855/0.7409, allocations: 161.3 MB / 0.6612 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.7428, allocations: 0.9169 MB / 0.6621 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002301/0.743, allocations: 8.531 kB / 0.6621 GB, free: 204 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007456/0.7438, allocations: 237.1 kB / 0.6624 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.745, allocations: 0.5274 MB / 0.6629 GB, free: 164 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007327/0.7458, allocations: 306.6 kB / 0.6632 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.7468, allocations: 0.8372 MB / 0.664 GB, free: 156 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004746/0.7473, allocations: 258.4 kB / 0.6642 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/0.7481, allocations: 447.5 kB / 0.6647 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.7485, allocations: 266 kB / 0.6649 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.7485, allocations: 32.19 kB / 0.6649 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006224/0.7492, allocations: 318.3 kB / 0.6652 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.7493, allocations: 164.5 kB / 0.6654 GB, free: 120 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002073/0.7495, allocations: 206.5 kB / 0.6656 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.7503, allocations: 0.6543 MB / 0.6662 GB, free: 88 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.7503, allocations: 0 / 0.6662 GB, free: 88 kB / 0.4981 GB Notification: Performance of FrontEnd: time 9.71e-07/0.7503, allocations: 0 / 0.6662 GB, free: 88 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.7503, allocations: 4 kB / 0.6662 GB, free: 84 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001748/0.7521, allocations: 0.726 MB / 0.6669 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.7521, allocations: 8.312 kB / 0.667 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.7523, allocations: 44.58 kB / 0.667 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.7528, allocations: 330.3 kB / 0.6673 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.7528, allocations: 21.97 kB / 0.6673 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.22e-05/0.7528, allocations: 32 kB / 0.6674 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007464/0.7536, allocations: 384.3 kB / 0.6677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.7536, allocations: 4 kB / 0.6677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.7537, allocations: 14.36 kB / 0.6677 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.872e-05/0.7537, allocations: 16.2 kB / 0.6678 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007034/0.7544, allocations: 366.5 kB / 0.6681 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002378/0.7568, allocations: 1.3 MB / 0.6694 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000326/0.7571, allocations: 140.8 kB / 0.6695 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.7573, allocations: 77.33 kB / 0.6696 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.7574, allocations: 2.906 kB / 0.6696 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.7574, allocations: 34.12 kB / 0.6696 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.7574, allocations: 0 / 0.6696 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006238/0.758, allocations: 240.1 kB / 0.6699 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.7581, allocations: 55.34 kB / 0.6699 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004245/0.7585, allocations: 398.5 kB / 0.6703 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.759e-05/0.7586, allocations: 28.48 kB / 0.6703 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.7587, allocations: 208.7 kB / 0.6705 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.7588, allocations: 33.36 kB / 0.6705 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.04e-05/0.7589, allocations: 50.14 kB / 0.6706 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.759, allocations: 345 kB / 0.6709 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.7592, allocations: 87.98 kB / 0.671 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/0.7595, allocations: 137.9 kB / 0.6711 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003913/0.7599, allocations: 218.8 kB / 0.6713 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.7599, allocations: 3.094 kB / 0.6714 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005019/0.7604, allocations: 288.2 kB / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.7604, allocations: 8 kB / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.7604, allocations: 2.781 kB / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.7604, allocations: 2.844 kB / 0.6716 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.7607, allocations: 56.31 kB / 0.6717 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.7607, allocations: 8.906 kB / 0.6717 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000272/0.761, allocations: 36.5 kB / 0.6717 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.761, allocations: 8.719 kB / 0.6717 GB, free: 13.64 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (24): * Single equations (assignments): 24 * 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.0001586/0.7611, allocations: 165.6 kB / 0.6719 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.7612, allocations: 33.94 kB / 0.6719 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.918e-05/0.7613, allocations: 33.88 kB / 0.672 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.7613, allocations: 0 / 0.672 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.7613, allocations: 10.81 kB / 0.672 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.7613, allocations: 0 / 0.672 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007724/0.7621, allocations: 0.5806 MB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.7621, allocations: 2.406 kB / 0.6725 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.7622, allocations: 26.09 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.7623, allocations: 2.75 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7623, allocations: 4.062 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.7623, allocations: 5.922 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7623, allocations: 2.344 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.7627, allocations: 289.4 kB / 0.6729 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.763, allocations: 148 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.763, allocations: 5.031 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002808/0.7633, allocations: 18.34 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.7634, allocations: 5.047 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.7634, allocations: 14.75 kB / 0.673 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002557/0.7637, allocations: 286.6 kB / 0.6733 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7637, allocations: 0 / 0.6733 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003905/0.7641, allocations: 91.97 kB / 0.6734 GB, free: 12.81 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.0003521/0.7644, allocations: 150.5 kB / 0.6735 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004298/0.7649, allocations: 186.5 kB / 0.6737 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7649, allocations: 4.062 kB / 0.6737 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/0.765, allocations: 69.88 kB / 0.6738 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008903/0.7659, allocations: 191.4 kB / 0.674 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.767, allocations: 0.5208 MB / 0.6745 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.7675, allocations: 0.7828 MB / 0.6753 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002732/0.7678, allocations: 75.45 kB / 0.6753 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.7679, allocations: 28.83 kB / 0.6754 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of SimCode: time 5.01e-07/0.7679, allocations: 0 / 0.6754 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of Templates: time 0.01252/0.7804, allocations: 6.802 MB / 0.682 GB, free: 11.25 MB / 0.5137 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1)