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.002101/0.002101, allocations: 177.7 kB / 8.048 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.046/2.046, allocations: 205.3 MB / 213.8 MB, free: 13.76 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.00113/0.00113, allocations: 92.31 kB / 261.8 MB, free: 13.45 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.1116/0.1116, allocations: 12.58 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.022e-05/2.02e-05, allocations: 0 / 378.9 MB, free: 75.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.08985, allocations: 50.39 MB / 429.3 MB, free: 24.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4272/0.5171, allocations: 78.91 MB / 0.4963 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.5174, allocations: 61.75 kB / 0.4964 GB, free: 11.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008032/0.5254, allocations: 2.139 MB / 0.4985 GB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5255, allocations: 0 / 0.4985 GB, free: 11.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.5255, allocations: 4 kB / 0.4985 GB, free: 11.54 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.000387/0.5259, allocations: 381 kB / 0.4988 GB, free: 11.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5259, allocations: 10.8 kB / 0.4988 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.526, allocations: 15.34 kB / 0.4988 GB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.5263, allocations: 201.4 kB / 0.499 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.5263, allocations: 9.953 kB / 0.499 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.837e-05/0.5263, allocations: 7.688 kB / 0.4991 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001351/0.5265, allocations: 37.98 kB / 0.4991 GB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004236/0.5269, allocations: 211.3 kB / 0.4993 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5269, allocations: 0 / 0.4993 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5269, allocations: 0 / 0.4993 GB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.527, allocations: 7.875 kB / 0.4993 GB, free: 10.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003935/0.5274, allocations: 287.5 kB / 0.4996 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.5276, allocations: 135.1 kB / 0.4997 GB, free: 10.52 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.5278, allocations: 77.2 kB / 0.4998 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.5278, allocations: 7.406 kB / 0.4998 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.5278, allocations: 34.38 kB / 0.4998 GB, free: 10.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.723e-06/0.5278, allocations: 0 / 0.4998 GB, free: 10.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003012/0.5281, allocations: 117.3 kB / 0.4999 GB, free: 10.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.5282, allocations: 110.7 kB / 0.5 GB, free: 10.29 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.115e-05/0.5283, allocations: 118.5 kB / 0.5001 GB, free: 10.2 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.5283, allocations: 26.73 kB / 0.5002 GB, free: 10.16 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.518e-05/0.5284, allocations: 94.92 kB / 0.5003 GB, free: 10.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.5284, allocations: 17.7 kB / 0.5003 GB, free: 10.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.502e-06/0.5284, allocations: 0 / 0.5003 GB, free: 10.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.297e-05/0.5285, allocations: 324.7 kB / 0.5006 GB, free: 9.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.516e-05/0.5286, allocations: 14.56 kB / 0.5006 GB, free: 9.758 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.1e-05/0.5287, allocations: 130.7 kB / 0.5007 GB, free: 9.613 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.295e-05/0.5288, allocations: 40.58 kB / 0.5008 GB, free: 9.605 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5288, allocations: 0 / 0.5008 GB, free: 9.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002938/0.5291, allocations: 138.7 kB / 0.5009 GB, free: 9.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.5291, allocations: 3.844 kB / 0.5009 GB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.5291, allocations: 10.77 kB / 0.5009 GB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.5292, allocations: 11.61 kB / 0.5009 GB, free: 9.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.5294, allocations: 34.92 kB / 0.501 GB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.5294, allocations: 7.781 kB / 0.501 GB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.5295, allocations: 11.75 kB / 0.501 GB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.5296, allocations: 10.34 kB / 0.501 GB, free: 9.531 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 7.314e-05/0.5296, allocations: 122 kB / 0.5011 GB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.5298, allocations: 103 kB / 0.5012 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.753e-05/0.5299, allocations: 11.52 kB / 0.5012 GB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.5299, allocations: 7.828 kB / 0.5012 GB, free: 9.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.5299, allocations: 3.953 kB / 0.5012 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5299, allocations: 3.844 kB / 0.5012 GB, free: 9.367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.5301, allocations: 159.9 kB / 0.5014 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.5301, allocations: 3.844 kB / 0.5014 GB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.5304, allocations: 41.45 kB / 0.5014 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.5304, allocations: 0 / 0.5014 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5304, allocations: 3.844 kB / 0.5014 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5304, allocations: 0.875 kB / 0.5014 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.5304, allocations: 0 / 0.5014 GB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002461/0.5307, allocations: 253.4 kB / 0.5017 GB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.561e-05/0.5307, allocations: 95.86 kB / 0.5018 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.5308, allocations: 0 / 0.5018 GB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.5309, allocations: 7.859 kB / 0.5018 GB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.5309, allocations: 7.078 kB / 0.5018 GB, free: 8.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.531, allocations: 11.25 kB / 0.5018 GB, free: 8.891 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.044e-05/0.531, allocations: 93.66 kB / 0.5019 GB, free: 8.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.531, allocations: 0 / 0.5019 GB, free: 8.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003835/0.5314, allocations: 22.62 kB / 0.5019 GB, free: 8.812 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.847e-05/0.5315, allocations: 98.19 kB / 0.502 GB, free: 8.719 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.5317, allocations: 81.86 kB / 0.5021 GB, free: 8.707 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.5318, allocations: 3.938 kB / 0.5021 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.152e-05/0.5318, allocations: 3.875 kB / 0.5021 GB, free: 8.703 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004011/0.5322, allocations: 62.83 kB / 0.5021 GB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.5327, allocations: 168.8 kB / 0.5023 GB, free: 8.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001921/0.5329, allocations: 0.7198 MB / 0.503 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.929e-05/0.533, allocations: 5.031 kB / 0.503 GB, free: 7.891 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.5331, allocations: 26.44 kB / 0.503 GB, free: 7.875 MB / 330.7 MB Notification: Performance of SimCode: time 6.71e-07/0.5331, allocations: 0 / 0.503 GB, free: 7.875 MB / 330.7 MB Notification: Performance of Templates: time 0.004361/0.5374, allocations: 0.8965 MB / 0.5039 GB, free: 7.793 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)