Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1342,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 112.8 kB / 16.38 MB, free: 6.484 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.001817/0.001817, allocations: 190.2 kB / 17.32 MB, free: 5.785 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.332/1.332, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.827/0.827, allocations: 132.2 MB / 423.4 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 67.86 kB / 0.582 GB, free: 23.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1867, allocations: 80.22 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003031/0.1898, allocations: 1.621 MB / 0.6619 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00218/0.192, allocations: 1.491 MB / 0.6633 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.1921, allocations: 4 kB / 0.6634 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.1926, allocations: 55.64 kB / 0.6634 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1928, allocations: 55.75 kB / 0.6635 GB, free: 7.004 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002438/0.193, allocations: 99.62 kB / 0.6636 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1933, allocations: 171.6 kB / 0.6637 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.361e-05/0.1933, allocations: 12.22 kB / 0.6637 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.379e-05/0.1934, allocations: 63.77 kB / 0.6638 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001595/0.1936, allocations: 63.8 kB / 0.6638 GB, free: 6.598 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1936, allocations: 12 kB / 0.6639 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.1938, allocations: 67.91 kB / 0.6639 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.183e-05/0.1939, allocations: 47.83 kB / 0.664 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.1939, allocations: 51.67 kB / 0.664 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1942, allocations: 199.4 kB / 0.6642 GB, free: 6.227 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1942, allocations: 3.938 kB / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1942, allocations: 0 / 0.6642 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.1943, allocations: 4 kB / 0.6642 GB, free: 6.219 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006175/0.1949, allocations: 466.6 kB / 0.6647 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.1949, allocations: 16.02 kB / 0.6647 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.586e-05/0.195, allocations: 12.75 kB / 0.6647 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003656/0.1954, allocations: 259.7 kB / 0.6649 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.699e-05/0.1954, allocations: 8 kB / 0.6649 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.1954, allocations: 4 kB / 0.6649 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.1956, allocations: 119.3 kB / 0.6651 GB, free: 5.254 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1957, allocations: 3.938 kB / 0.6651 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.1957, allocations: 4 kB / 0.6651 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.1957, allocations: 0 / 0.6651 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.1959, allocations: 143.9 kB / 0.6652 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002451/0.1962, allocations: 233.4 kB / 0.6654 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003736/0.1966, allocations: 176.8 kB / 0.6656 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.1967, allocations: 52.84 kB / 0.6656 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1967, allocations: 11.97 kB / 0.6657 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.197, allocations: 111.3 kB / 0.6658 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.197, allocations: 0 / 0.6658 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.0004783/0.1974, allocations: 220.4 kB / 0.666 GB, free: 4.242 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.1975, allocations: 89.11 kB / 0.6661 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.1977, allocations: 200.1 kB / 0.6663 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.1978, allocations: 33.7 kB / 0.6663 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.1978, allocations: 108.2 kB / 0.6664 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1979, allocations: 51.27 kB / 0.6664 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.756e-05/0.198, allocations: 37.7 kB / 0.6665 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1981, allocations: 334.8 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.1982, allocations: 47.92 kB / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.1983, allocations: 76.94 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.1985, allocations: 121.7 kB / 0.667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1985, allocations: 4 kB / 0.667 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000302/0.1988, allocations: 188.5 kB / 0.6672 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1989, allocations: 4 kB / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1989, allocations: 0 / 0.6672 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1989, allocations: 8.062 kB / 0.6672 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.199, allocations: 27.98 kB / 0.6672 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.199, allocations: 0 / 0.6672 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.425e-05/0.1991, allocations: 7.906 kB / 0.6673 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.1991, allocations: 7.938 kB / 0.6673 GB, free: 2.848 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: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001262/0.1993, allocations: 150.6 kB / 0.6674 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.1993, allocations: 15.81 kB / 0.6674 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.1994, allocations: 21.53 kB / 0.6674 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.1994, allocations: 3.984 kB / 0.6674 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1994, allocations: 8 kB / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1994, allocations: 0 / 0.6675 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.1996, allocations: 237.4 kB / 0.6677 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1996, allocations: 0 / 0.6677 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.137e-05/0.1997, allocations: 19.98 kB / 0.6677 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1997, allocations: 0 / 0.6677 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1997, allocations: 8 kB / 0.6677 GB, free: 2.332 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1997, allocations: 3.938 kB / 0.6677 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1997, allocations: 0 / 0.6677 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003328/0.2001, allocations: 212.8 kB / 0.6679 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.018e-05/0.2001, allocations: 88.92 kB / 0.668 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.075e-05/0.2002, allocations: 8 kB / 0.668 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.805e-05/0.2002, allocations: 8 kB / 0.668 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.2003, allocations: 15.92 kB / 0.668 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.2003, allocations: 7.984 kB / 0.668 GB, free: 1.957 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001386/0.2004, allocations: 151 kB / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2004, allocations: 0 / 0.6682 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002723/0.2007, allocations: 43.98 kB / 0.6682 GB, free: 1.766 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001048/0.2018, allocations: 457.6 kB / 0.6687 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.2021, allocations: 127.9 kB / 0.6688 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2021, allocations: 4.062 kB / 0.6688 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001113/0.2022, allocations: 59.92 kB / 0.6688 GB, free: 1.332 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.2025, allocations: 42.02 kB / 0.6689 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005661/0.2031, allocations: 316.3 kB / 0.6692 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002952/0.2034, allocations: 0.7241 MB / 0.6699 GB, free: 208 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.267e-05/0.2034, allocations: 35.41 kB / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of SimCode: time 1.473e-06/0.2035, allocations: 0 / 0.6699 GB, free: 172 kB / 0.4981 GB Notification: Performance of Templates: time 0.004745/0.2082, allocations: 2.792 MB / 0.6727 GB, free: 13.4 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1)