Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001648/0.001648, allocations: 181.1 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.2 MB / 219 MB, free: 9.203 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008744/0.0008741, allocations: 88.5 kB / 267.1 MB, free: 9.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09417/0.09417, allocations: 12.58 MB / 327.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.418e-05, allocations: 8 kB / 386 MB, free: 69.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1164, allocations: 50.38 MB / 436.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.5569, allocations: 79.56 MB / 0.5038 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003386/0.5574, allocations: 59.62 kB / 0.5039 GB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005769/0.5632, allocations: 2.156 MB / 0.506 GB, free: 11.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5632, allocations: 0 / 0.506 GB, free: 11.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.5632, allocations: 4 kB / 0.506 GB, free: 11.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003764/0.5636, allocations: 376.4 kB / 0.5064 GB, free: 11.06 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.5637, allocations: 10.45 kB / 0.5064 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.995e-05/0.5637, allocations: 11.72 kB / 0.5064 GB, free: 11.06 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002646/0.564, allocations: 203.5 kB / 0.5066 GB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.564, allocations: 8.016 kB / 0.5066 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.5641, allocations: 14.56 kB / 0.5066 GB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004013/0.5645, allocations: 232 kB / 0.5068 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.5645, allocations: 0 / 0.5068 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5645, allocations: 0 / 0.5068 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5645, allocations: 0 / 0.5068 GB, free: 10.73 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.5646, allocations: 55.97 kB / 0.5069 GB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.565, allocations: 313.3 kB / 0.5072 GB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5652, allocations: 144.2 kB / 0.5073 GB, free: 10.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5653, allocations: 89.64 kB / 0.5074 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.5653, allocations: 3.875 kB / 0.5074 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.5654, allocations: 41.62 kB / 0.5074 GB, free: 10.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.5654, allocations: 0 / 0.5074 GB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002516/0.5656, allocations: 128.5 kB / 0.5076 GB, free: 10.19 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/0.5657, allocations: 118.1 kB / 0.5077 GB, free: 10.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.524e-05/0.5658, allocations: 119 kB / 0.5078 GB, free: 9.969 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.5658, allocations: 25.7 kB / 0.5078 GB, free: 9.938 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.116e-05/0.5659, allocations: 97.59 kB / 0.5079 GB, free: 9.852 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.209e-05/0.5659, allocations: 10.81 kB / 0.5079 GB, free: 9.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.5659, allocations: 3.188 kB / 0.5079 GB, free: 9.848 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.211e-05/0.566, allocations: 326.2 kB / 0.5082 GB, free: 9.527 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.487e-05/0.566, allocations: 26.17 kB / 0.5083 GB, free: 9.523 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.342e-05/0.5661, allocations: 128.7 kB / 0.5084 GB, free: 9.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.5662, allocations: 48.98 kB / 0.5084 GB, free: 9.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.5662, allocations: 0 / 0.5084 GB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001839/0.5664, allocations: 163.3 kB / 0.5086 GB, free: 9.285 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.5664, allocations: 7.625 kB / 0.5086 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.5664, allocations: 3.875 kB / 0.5086 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.5664, allocations: 3.812 kB / 0.5086 GB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.5666, allocations: 35.27 kB / 0.5086 GB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.565e-05/0.5666, allocations: 18.92 kB / 0.5087 GB, free: 9.266 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.601e-05/0.5667, allocations: 19.38 kB / 0.5087 GB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.5667, allocations: 7.406 kB / 0.5087 GB, free: 9.258 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (fixedDelay.first,$CLKPRE.fixedDelay.first) * Number of discrete 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 6.523e-05/0.5668, allocations: 119.5 kB / 0.5088 GB, free: 9.145 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.5669, allocations: 120.5 kB / 0.5089 GB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.148e-05/0.567, allocations: 15.12 kB / 0.5089 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.567, allocations: 3.562 kB / 0.5089 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.567, allocations: 0 / 0.5089 GB, free: 9.086 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.567, allocations: 11.45 kB / 0.5089 GB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001494/0.5672, allocations: 189.9 kB / 0.5091 GB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5672, allocations: 7.938 kB / 0.5091 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.5673, allocations: 30.73 kB / 0.5092 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.5673, allocations: 3.875 kB / 0.5092 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.5673, allocations: 11.06 kB / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5673, allocations: 3.875 kB / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5673, allocations: 0 / 0.5092 GB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001884/0.5675, allocations: 259 kB / 0.5094 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.5676, allocations: 88.8 kB / 0.5095 GB, free: 8.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.5676, allocations: 11.36 kB / 0.5095 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.5677, allocations: 7.406 kB / 0.5095 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.5677, allocations: 0 / 0.5095 GB, free: 8.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.5677, allocations: 15.62 kB / 0.5095 GB, free: 8.531 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.706e-05/0.5678, allocations: 97.77 kB / 0.5096 GB, free: 8.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5678, allocations: 0 / 0.5096 GB, free: 8.453 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002715/0.568, allocations: 19.22 kB / 0.5096 GB, free: 8.453 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (fixedDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * 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 9.912e-05/0.5682, allocations: 102 kB / 0.5097 GB, free: 8.363 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001561/0.5683, allocations: 95.52 kB / 0.5098 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.5683, allocations: 4.062 kB / 0.5098 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.5684, allocations: 7.812 kB / 0.5098 GB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.5687, allocations: 75.94 kB / 0.5099 GB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003827/0.5691, allocations: 170.9 kB / 0.5101 GB, free: 8.211 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.5693, allocations: 0.7233 MB / 0.5108 GB, free: 7.492 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.5693, allocations: 8.906 kB / 0.5108 GB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.5693, allocations: 15.27 kB / 0.5108 GB, free: 7.477 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5693, allocations: 3.844 kB / 0.5108 GB, free: 7.477 MB / 330.7 MB Notification: Performance of Templates: time 0.003212/0.5726, allocations: 0.9389 MB / 0.5117 GB, free: 7.027 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)