Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008843/0.0008843, allocations: 169 kB / 23.02 MB, free: 1.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 203.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7774/0.7774, allocations: 154.9 MB / 414.8 MB, free: 388 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") translateModel(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 0.5207 GB, free: 1.844 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.368e-05/3.557e-05, allocations: 8.766 kB / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.LosslessPipe): time 0.1499/0.1499, allocations: 147 MB / 0.6642 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002285/0.1522, allocations: 1.42 MB / 0.6656 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002625/0.1525, allocations: 19.81 kB / 0.6656 GB, free: 13.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005049/0.153, allocations: 127 kB / 0.6657 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0009918/0.154, allocations: 0.5206 MB / 0.6662 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000744/0.1547, allocations: 415 kB / 0.6666 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008837/0.1556, allocations: 0.8376 MB / 0.6675 GB, free: 11.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004287/0.156, allocations: 239.9 kB / 0.6677 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006113/0.1566, allocations: 442.8 kB / 0.6681 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.1569, allocations: 235.3 kB / 0.6683 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.875e-05/0.1569, allocations: 28 kB / 0.6684 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004648/0.1574, allocations: 299.2 kB / 0.6686 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1575, allocations: 139.5 kB / 0.6688 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.1576, allocations: 135.7 kB / 0.6689 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1583, allocations: 490.4 kB / 0.6694 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1583, allocations: 0 / 0.6694 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1583, allocations: 0 / 0.6694 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.695e-06/0.1583, allocations: 0 / 0.6694 GB, free: 9.215 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001126/0.1594, allocations: 0.7487 MB / 0.6701 GB, free: 8.426 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.1595, allocations: 8.031 kB / 0.6701 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006323/0.1601, allocations: 224.1 kB / 0.6703 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004201/0.1605, allocations: 319.7 kB / 0.6706 GB, free: 7.859 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1605, allocations: 28.59 kB / 0.6707 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.1606, allocations: 28 kB / 0.6707 GB, free: 7.805 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.161, allocations: 293.7 kB / 0.671 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.161, allocations: 0 / 0.671 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.161, allocations: 12 kB / 0.671 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/0.161, allocations: 16.66 kB / 0.671 GB, free: 7.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.1613, allocations: 151.8 kB / 0.6711 GB, free: 7.32 MB / 0.6355 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.0014/0.1627, allocations: 1.381 MB / 0.6725 GB, free: 5.879 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002196/0.1629, allocations: 103.1 kB / 0.6726 GB, free: 5.766 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.922e-05/0.163, allocations: 63.77 kB / 0.6726 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.1632, allocations: 47.94 kB / 0.6727 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.1632, allocations: 41.39 kB / 0.6727 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=20): time 2.445e-06/0.1632, allocations: 0 / 0.6727 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of matching and sorting (n=20): time 0.0004283/0.1636, allocations: 206.6 kB / 0.6729 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.1637, allocations: 63.34 kB / 0.673 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1639, allocations: 306.3 kB / 0.6733 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1639, allocations: 29.7 kB / 0.6733 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.164, allocations: 255.2 kB / 0.6736 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.1641, allocations: 75.33 kB / 0.6736 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.1641, allocations: 51.36 kB / 0.6737 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1643, allocations: 0.5079 MB / 0.6742 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.114e-05/0.1643, allocations: 31.97 kB / 0.6742 GB, free: 4.031 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.1644, allocations: 186.9 kB / 0.6744 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1646, allocations: 151.5 kB / 0.6745 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1646, allocations: 0 / 0.6745 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002327/0.1648, allocations: 184.2 kB / 0.6747 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.1649, allocations: 12 kB / 0.6747 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1649, allocations: 0 / 0.6747 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1649, allocations: 4 kB / 0.6747 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001524/0.165, allocations: 51.91 kB / 0.6748 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.165, allocations: 3.938 kB / 0.6748 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.1651, allocations: 19.89 kB / 0.6748 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.1652, allocations: 11.98 kB / 0.6748 GB, free: 3.34 MB / 0.6355 GB 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 (25): * Single equations (assignments): 25 * 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 9.623e-05/0.1653, allocations: 164.6 kB / 0.675 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.1653, allocations: 39.81 kB / 0.675 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002493/0.1655, allocations: 175.7 kB / 0.6752 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.1656, allocations: 7.938 kB / 0.6752 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.1656, allocations: 0 / 0.6752 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.1656, allocations: 0 / 0.6752 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007945/0.1664, allocations: 0.6889 MB / 0.6758 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.1664, allocations: 4 kB / 0.6758 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1665, allocations: 43.91 kB / 0.6759 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.1665, allocations: 4 kB / 0.6759 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.1665, allocations: 4 kB / 0.6759 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1665, allocations: 7.938 kB / 0.6759 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.1665, allocations: 4 kB / 0.6759 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.1669, allocations: 416.2 kB / 0.6763 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.872e-05/0.167, allocations: 47.77 kB / 0.6763 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.167, allocations: 8 kB / 0.6764 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.527e-05/0.1671, allocations: 4 kB / 0.6764 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.403e-05/0.1672, allocations: 27.89 kB / 0.6764 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.029e-05/0.1672, allocations: 15.97 kB / 0.6764 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001642/0.1674, allocations: 215 kB / 0.6766 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1674, allocations: 0 / 0.6766 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004097/0.1678, allocations: 103.8 kB / 0.6767 GB, free: 1.211 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (20): * Single equations (assignments): 20 * 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.0003069/0.1681, allocations: 135.1 kB / 0.6768 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002801/0.1684, allocations: 130.4 kB / 0.677 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1684, allocations: 0 / 0.677 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.999e-05/0.1685, allocations: 68.53 kB / 0.677 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005889/0.169, allocations: 153.3 kB / 0.6772 GB, free: 0.7227 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.1703, allocations: 0.6357 MB / 0.6778 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2711/0.4414, allocations: 100.6 kB / 0.6779 GB, free: 61.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002639/0.4417, allocations: 63.77 kB / 0.6779 GB, free: 61.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.838e-05/0.4418, allocations: 27.84 kB / 0.678 GB, free: 61.49 MB / 0.6355 GB Notification: Performance of SimCode: time 1.483e-06/0.4418, allocations: 0 / 0.678 GB, free: 61.49 MB / 0.6355 GB Notification: Performance of Templates: time 0.007669/0.4494, allocations: 5.908 MB / 0.6837 GB, free: 61.2 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.sim & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Validation.LosslessPipe.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.382827545981854]