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.0008373/0.0008372, allocations: 174.2 kB / 16.76 MB, free: 5.051 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.263/1.263, allocations: 205 MB / 222.5 MB, free: 9.062 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.0007438/0.0007437, allocations: 96.89 kB / 270.5 MB, free: 8.668 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.0877/0.0877, allocations: 12.57 MB / 331 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004178/0.0004179, allocations: 12 kB / 391.7 MB, free: 66.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08075/0.08118, allocations: 49.99 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001697/0.08293, allocations: 1.519 MB / 443.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.08395, allocations: 0.7137 MB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.367e-05/0.08406, allocations: 3.938 kB / 443.9 MB, free: 14.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.08433, allocations: 23.84 kB / 443.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.924e-05/0.08437, allocations: 15.92 kB / 444 MB, free: 14.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.08461, allocations: 51.89 kB / 444 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.08473, allocations: 99.66 kB / 444.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.08487, allocations: 68.73 kB / 444.2 MB, free: 13.89 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.08496, allocations: 31.86 kB / 444.2 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.459e-05/0.08506, allocations: 27.8 kB / 444.2 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.08509, allocations: 4 kB / 444.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.14e-05/0.0851, allocations: 0 / 444.2 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.625e-05/0.08517, allocations: 19.91 kB / 444.3 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.08521, allocations: 39.69 kB / 444.3 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.345e-05/0.08529, allocations: 60.09 kB / 444.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.0853, allocations: 0 / 444.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.08531, allocations: 4 kB / 444.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.08531, allocations: 0 / 444.4 MB, free: 13.7 MB / 298.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.0003665/0.08569, allocations: 379.4 kB / 444.7 MB, free: 13.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.08572, allocations: 8.031 kB / 444.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.08576, allocations: 12.75 kB / 444.8 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.08593, allocations: 204.2 kB / 445 MB, free: 13.03 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.08595, allocations: 12.5 kB / 445 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.08597, allocations: 16.12 kB / 445 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000363/0.08634, allocations: 253.4 kB / 445.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.08636, allocations: 0 / 445.2 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.025e-05/0.08638, allocations: 7.938 kB / 445.2 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.08639, allocations: 8 kB / 445.2 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.08651, allocations: 55.95 kB / 445.3 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002623/0.08678, allocations: 310.4 kB / 445.6 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.08698, allocations: 147.7 kB / 445.7 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.0871, allocations: 94.77 kB / 445.8 MB, free: 12.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.08713, allocations: 4 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.08715, allocations: 38.56 kB / 445.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.242e-06/0.08715, allocations: 0 / 445.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003269/0.08748, allocations: 186 kB / 446.1 MB, free: 11.79 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.08754, allocations: 123.1 kB / 446.2 MB, free: 11.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.947e-05/0.08761, allocations: 127.7 kB / 446.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.08763, allocations: 29.7 kB / 446.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.82e-05/0.08766, allocations: 100 kB / 446.4 MB, free: 11.38 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.892e-05/0.08769, allocations: 15.84 kB / 446.4 MB, free: 11.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.283e-05/0.08772, allocations: 21.7 kB / 446.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.231e-05/0.08776, allocations: 322.8 kB / 446.8 MB, free: 11.01 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.949e-05/0.08783, allocations: 27.98 kB / 446.8 MB, free: 10.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.213e-05/0.08792, allocations: 134.5 kB / 446.9 MB, free: 10.8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.08807, allocations: 174.4 kB / 447.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.08808, allocations: 0 / 447.1 MB, free: 10.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002299/0.08831, allocations: 181.2 kB / 447.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.08834, allocations: 6.656 kB / 447.3 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.08835, allocations: 7.938 kB / 447.3 MB, free: 10.38 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.08837, allocations: 11.94 kB / 447.3 MB, free: 10.37 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.08852, allocations: 35.92 kB / 447.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.08854, allocations: 4.531 kB / 447.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.08862, allocations: 27.83 kB / 447.4 MB, free: 10.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.08864, allocations: 11.94 kB / 447.4 MB, free: 10.29 MB / 298.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 ($CLKPRE.fixedDelay.first,fixedDelay.first) * Number of discrete states: 0 () * Number of clocked states: 2 (fixedDelay.first,fixedDelay.u_buffer[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001119/0.08876, allocations: 125.8 kB / 447.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001436/0.08891, allocations: 117.5 kB / 447.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.08895, allocations: 16.78 kB / 447.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.08896, allocations: 4 kB / 447.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.08897, allocations: 0 / 447.7 MB, free: 10.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.08898, allocations: 3.984 kB / 447.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/0.08912, allocations: 197.5 kB / 447.9 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.08913, allocations: 4 kB / 447.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.08923, allocations: 31.92 kB / 447.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.08924, allocations: 4 kB / 447.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.08926, allocations: 7.938 kB / 447.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.08927, allocations: 0 / 447.9 MB, free: 9.723 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.08927, allocations: 4 kB / 447.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.08948, allocations: 249 kB / 448.1 MB, free: 9.453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.443e-05/0.08952, allocations: 96.89 kB / 448.2 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.08954, allocations: 7.938 kB / 448.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.241e-05/0.08962, allocations: 8 kB / 448.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.08966, allocations: 3.984 kB / 448.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.08967, allocations: 4 kB / 448.3 MB, free: 9.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.859e-05/0.08971, allocations: 107.3 kB / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.08972, allocations: 0 / 448.4 MB, free: 9.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002559/0.08998, allocations: 16 kB / 448.4 MB, free: 9.195 MB / 298.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 () * Number of clocked states: 2 (fixedDelay.u_buffer[1],fixedDelay.first) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 7.038e-05/0.09005, allocations: 99.25 kB / 448.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.09026, allocations: 113.9 kB / 448.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.09027, allocations: 0 / 448.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-05/0.09031, allocations: 11.98 kB / 448.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.09068, allocations: 71.95 kB / 448.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004269/0.09112, allocations: 320.9 kB / 449 MB, free: 8.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001221/0.09125, allocations: 0.7126 MB / 449.7 MB, free: 7.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.995e-05/0.09129, allocations: 15.42 kB / 449.7 MB, free: 7.789 MB / 298.7 MB Notification: Performance of SimCode: time 2.3e-07/0.0913, allocations: 4 kB / 449.7 MB, free: 7.785 MB / 298.7 MB Notification: Performance of Templates: time 0.002304/0.09361, allocations: 1.38 MB / 451.1 MB, free: 6.402 MB / 298.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)