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.0009652/0.0009652, allocations: 171.7 kB / 16.8 MB, free: 4.891 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.575/1.575, allocations: 205.4 MB / 223 MB, free: 9.016 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.0008209/0.0008211, allocations: 89.38 kB / 271.3 MB, free: 8.242 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.07564/0.07564, allocations: 12.6 MB / 332.2 MB, free: 11.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004845/0.0004845, allocations: 19.98 kB / 393.2 MB, free: 65.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1078, allocations: 50.39 MB / 443.6 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.399/0.5069, allocations: 79.68 MB / 0.511 GB, free: 13.25 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.5071, allocations: 68.28 kB / 0.5111 GB, free: 13.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00558/0.5127, allocations: 2.165 MB / 0.5132 GB, free: 12.3 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.5128, allocations: 0 / 0.5132 GB, free: 12.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5128, allocations: 3.781 kB / 0.5132 GB, free: 12.3 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.0004482/0.5132, allocations: 397.5 kB / 0.5136 GB, free: 11.89 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5133, allocations: 7.656 kB / 0.5136 GB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.5133, allocations: 19.62 kB / 0.5136 GB, free: 11.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.5136, allocations: 201.2 kB / 0.5138 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.5136, allocations: 7.719 kB / 0.5138 GB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.5136, allocations: 11.08 kB / 0.5138 GB, free: 11.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004615/0.5141, allocations: 247.1 kB / 0.5141 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.5141, allocations: 0 / 0.5141 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.5142, allocations: 2.375 kB / 0.5141 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.345e-06/0.5142, allocations: 7.828 kB / 0.5141 GB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.5143, allocations: 53.88 kB / 0.5141 GB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.5147, allocations: 316.3 kB / 0.5144 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002185/0.5149, allocations: 157.8 kB / 0.5146 GB, free: 11.11 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5151, allocations: 90.52 kB / 0.5147 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.047e-05/0.5151, allocations: 3.984 kB / 0.5147 GB, free: 11.08 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.5151, allocations: 49.08 kB / 0.5147 GB, free: 11.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.323e-06/0.5151, allocations: 0 / 0.5147 GB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003706/0.5155, allocations: 176.5 kB / 0.5149 GB, free: 10.97 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.5156, allocations: 121.3 kB / 0.515 GB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.745e-05/0.5157, allocations: 128.9 kB / 0.5151 GB, free: 10.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.5157, allocations: 29.14 kB / 0.5151 GB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.213e-05/0.5157, allocations: 94.52 kB / 0.5152 GB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.579e-05/0.5158, allocations: 15.08 kB / 0.5153 GB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.5158, allocations: 3.562 kB / 0.5153 GB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.5159, allocations: 322.3 kB / 0.5156 GB, free: 10.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.516, allocations: 30.73 kB / 0.5156 GB, free: 10.28 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.598e-05/0.5161, allocations: 136.8 kB / 0.5157 GB, free: 10.13 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.5162, allocations: 175.7 kB / 0.5159 GB, free: 9.965 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.5163, allocations: 3.875 kB / 0.5159 GB, free: 9.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002206/0.5165, allocations: 171.3 kB / 0.5161 GB, free: 9.891 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.5165, allocations: 7.781 kB / 0.5161 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5165, allocations: 3.875 kB / 0.5161 GB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.5166, allocations: 11.72 kB / 0.5161 GB, free: 9.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.5167, allocations: 38.84 kB / 0.5161 GB, free: 9.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.5167, allocations: 12.34 kB / 0.5161 GB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.179e-05/0.5168, allocations: 23.06 kB / 0.5161 GB, free: 9.855 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.5168, allocations: 11.62 kB / 0.5162 GB, free: 9.855 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.125e-05/0.5169, allocations: 130.5 kB / 0.5163 GB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.517, allocations: 112.3 kB / 0.5164 GB, free: 9.688 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.5171, allocations: 19.23 kB / 0.5164 GB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5171, allocations: 7.562 kB / 0.5164 GB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5171, allocations: 3.938 kB / 0.5164 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5171, allocations: 0 / 0.5164 GB, free: 9.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.5173, allocations: 202.4 kB / 0.5166 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5173, allocations: 0.875 kB / 0.5166 GB, free: 9.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.5174, allocations: 38.34 kB / 0.5167 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.5174, allocations: 0 / 0.5167 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.5174, allocations: 3.844 kB / 0.5167 GB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.5174, allocations: 3.938 kB / 0.5167 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5174, allocations: 0 / 0.5167 GB, free: 9.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.5177, allocations: 256.9 kB / 0.5169 GB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.5177, allocations: 85.77 kB / 0.517 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.5177, allocations: 7.734 kB / 0.517 GB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.5178, allocations: 11.47 kB / 0.517 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.5179, allocations: 3.906 kB / 0.517 GB, free: 9.164 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.535e-06/0.5179, allocations: 3.906 kB / 0.517 GB, free: 9.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.5179, allocations: 105.8 kB / 0.5171 GB, free: 9.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5179, allocations: 0 / 0.5171 GB, free: 9.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002598/0.5182, allocations: 22.75 kB / 0.5171 GB, free: 9.074 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 () * 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 (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.229e-05/0.5183, allocations: 105.6 kB / 0.5172 GB, free: 8.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5185, allocations: 111.4 kB / 0.5173 GB, free: 8.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5185, allocations: 4 kB / 0.5173 GB, free: 8.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.5186, allocations: 11.62 kB / 0.5174 GB, free: 8.941 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.519, allocations: 75.94 kB / 0.5174 GB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.5195, allocations: 284.3 kB / 0.5177 GB, free: 8.711 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.5197, allocations: 0.7188 MB / 0.5184 GB, free: 8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.242e-05/0.5197, allocations: 12.92 kB / 0.5184 GB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.5198, allocations: 15.28 kB / 0.5184 GB, free: 7.984 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.5198, allocations: 0 / 0.5184 GB, free: 7.984 MB / 330.7 MB Notification: Performance of Templates: time 0.003188/0.523, allocations: 0.9463 MB / 0.5194 GB, free: 7.246 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)