Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.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.0008454/0.0008454, allocations: 115 kB / 19.7 MB, free: 0.5234 MB / 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.0008708/0.0008708, allocations: 211.8 kB / 23 MB, free: 3.117 MB / 13.93 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 0.9465/0.9465, allocations: 230.6 MB / 256.8 MB, free: 3.461 MB / 202.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-531:190: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-531:198: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.7464/0.7464, allocations: 203.8 MB / 0.5049 GB, free: 0.5586 MB / 410.7 MB " [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.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") translateModel(IDEAS.Fluid.Delays.Examples.Delay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009174/0.0009174, allocations: 63.91 kB / 0.7194 GB, free: 14.41 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4722, allocations: 102 MB / 0.8191 GB, free: 25.18 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Delays.Examples.Delay): time 0.1682/0.6404, allocations: 187.2 MB / 1.002 GB, free: 7.406 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.6468, allocations: 4.912 MB / 1.007 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.6478, allocations: 43.62 kB / 1.007 GB, free: 2.441 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.00114/0.6489, allocations: 453.3 kB / 1.007 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.003218/0.6521, allocations: 1.495 MB / 1.009 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.6539, allocations: 0.8323 MB / 1.009 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.002072/0.656, allocations: 1.898 MB / 1.011 GB, free: 13.77 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000662/0.6566, allocations: 469 kB / 1.012 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002005/0.6586, allocations: 1.14 MB / 1.013 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009939/0.6596, allocations: 0.5762 MB / 1.013 GB, free: 11.58 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 8.279e-05/0.6597, allocations: 60 kB / 1.013 GB, free: 11.52 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.6618, allocations: 1.485 MB / 1.015 GB, free: 10.04 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.662, allocations: 271.2 kB / 1.015 GB, free: 9.77 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0003013/0.6623, allocations: 406 kB / 1.016 GB, free: 9.371 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.001803/0.6641, allocations: 1.425 MB / 1.017 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.6641, allocations: 4 kB / 1.017 GB, free: 7.938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6641, allocations: 3.938 kB / 1.017 GB, free: 7.934 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.356e-05/0.6641, allocations: 0 / 1.017 GB, free: 7.934 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001321/0.6654, allocations: 1.064 MB / 1.018 GB, free: 6.832 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6655, allocations: 9.469 kB / 1.018 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007685/0.6662, allocations: 215.3 kB / 1.018 GB, free: 6.613 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.6669, allocations: 0.5523 MB / 1.019 GB, free: 6.035 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.667, allocations: 37 kB / 1.019 GB, free: 6 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.667, allocations: 55.94 kB / 1.019 GB, free: 5.945 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006179/0.6676, allocations: 494.3 kB / 1.019 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6677, allocations: 0 / 1.019 GB, free: 5.461 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.607e-05/0.6677, allocations: 27.94 kB / 1.019 GB, free: 5.434 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/0.6677, allocations: 13 kB / 1.019 GB, free: 5.422 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.6682, allocations: 439.7 kB / 1.02 GB, free: 4.992 MB / 0.7917 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.001873/0.6701, allocations: 2.041 MB / 1.022 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004419/0.6705, allocations: 334.5 kB / 1.022 GB, free: 2.426 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002074/0.6708, allocations: 197.9 kB / 1.022 GB, free: 2.23 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000143/0.6709, allocations: 36.25 kB / 1.022 GB, free: 2.195 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.6709, allocations: 38.84 kB / 1.022 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 3.145e-06/0.6709, allocations: 4 kB / 1.022 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.0008202/0.6718, allocations: 0.5441 MB / 1.023 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.6718, allocations: 63.28 kB / 1.023 GB, free: 1.523 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003992/0.6722, allocations: 0.5069 MB / 1.023 GB, free: 1.004 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.082e-05/0.6722, allocations: 37.7 kB / 1.023 GB, free: 0.9609 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001656/0.6724, allocations: 312.5 kB / 1.024 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/0.6725, allocations: 119 kB / 1.024 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.6725, allocations: 69.97 kB / 1.024 GB, free: 472 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.6726, allocations: 366.8 kB / 1.024 GB, free: 96 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.6728, allocations: 146.2 kB / 1.024 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.673, allocations: 216.6 kB / 1.025 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.6734, allocations: 336.4 kB / 1.025 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.6734, allocations: 0 / 1.025 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004542/0.6738, allocations: 449.9 kB / 1.025 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.6738, allocations: 4 kB / 1.025 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6738, allocations: 0 / 1.025 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.6739, allocations: 4 kB / 1.025 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.674, allocations: 68 kB / 1.025 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.674, allocations: 7.938 kB / 1.025 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002101/0.6743, allocations: 43.75 kB / 1.025 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.6743, allocations: 12 kB / 1.025 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002869/0.6746, allocations: 308 kB / 1.026 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001828/0.6748, allocations: 206.6 kB / 1.026 GB, free: 14.26 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003177/0.6751, allocations: 335.2 kB / 1.026 GB, free: 13.92 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-06/0.6751, allocations: 3.938 kB / 1.026 GB, free: 13.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0004095/0.6755, allocations: 433.1 kB / 1.027 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.6755, allocations: 4 kB / 1.027 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-06/0.6755, allocations: 4 kB / 1.027 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-06/0.6755, allocations: 128 / 1.027 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.6756, allocations: 75.91 kB / 1.027 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.6757, allocations: 3.984 kB / 1.027 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001953/0.6758, allocations: 43.89 kB / 1.027 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.564e-05/0.6759, allocations: 12 kB / 1.027 GB, free: 13.34 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 39 * 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.0001131/0.676, allocations: 196.2 kB / 1.027 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/0.676, allocations: 63.62 kB / 1.027 GB, free: 13.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004651/0.6765, allocations: 419.2 kB / 1.027 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.6765, allocations: 4 kB / 1.027 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.6765, allocations: 3.938 kB / 1.027 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003576/0.6769, allocations: 444.2 kB / 1.028 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.678, allocations: 1.159 MB / 1.029 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.678, allocations: 0 / 1.029 GB, free: 10.97 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002178/0.6782, allocations: 83.89 kB / 1.029 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6782, allocations: 4 kB / 1.029 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.6782, allocations: 8 kB / 1.029 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.6782, allocations: 4 kB / 1.029 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6782, allocations: 0 / 1.029 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006629/0.6789, allocations: 0.7114 MB / 1.03 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.679, allocations: 107.5 kB / 1.03 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.085e-05/0.6791, allocations: 8 kB / 1.03 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002122/0.6793, allocations: 25.69 kB / 1.03 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.413e-05/0.6793, allocations: 23.95 kB / 1.03 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.6794, allocations: 12 kB / 1.03 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002872/0.6796, allocations: 374.8 kB / 1.03 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.6796, allocations: 0 / 1.03 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006403/0.6803, allocations: 331.4 kB / 1.031 GB, free: 9.27 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (del.dynBal.medium.Xi[1],del.dynBal.U,del.dynBal.m) * 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 (33): * Single equations (assignments): 33 * 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.0002909/0.6806, allocations: 167 kB / 1.031 GB, free: 9.098 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0006583/0.6812, allocations: 0.4958 MB / 1.031 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.6812, allocations: 0 / 1.031 GB, free: 8.602 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001763/0.6814, allocations: 168.3 kB / 1.031 GB, free: 8.438 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008863/0.6823, allocations: 363.9 kB / 1.032 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.684, allocations: 1.317 MB / 1.033 GB, free: 6.719 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.6844, allocations: 0.9296 MB / 1.034 GB, free: 5.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.6845, allocations: 55.42 kB / 1.034 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of SimCode: time 1.222e-06/0.6845, allocations: 0 / 1.034 GB, free: 5.707 MB / 0.8073 GB Notification: Performance of Templates: time 0.01164/0.6961, allocations: 9.805 MB / 1.044 GB, free: 12.01 MB / 0.823 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.sim & ./IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Delays.Examples.Delay.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.076943565160036] Failed to read output from testmodel.py, exit status != 0: 0.7035646119620651 0.712437643 0.04635707 Calling exit ...