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.0009067/0.0009068, allocations: 177.6 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 1.516/1.516, allocations: 205.3 MB / 213.8 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007897/0.0007898, allocations: 88.05 kB / 261.8 MB, free: 1.68 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.06924/0.06924, allocations: 12.59 MB / 322.3 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.366e-05, allocations: 4 kB / 378.9 MB, free: 6.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2542, allocations: 50.37 MB / 429.3 MB, free: 18.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1002/0.3544, allocations: 78.91 MB / 0.4963 GB, free: 3.328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.3547, allocations: 67.97 kB / 0.4964 GB, free: 3.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005563/0.3603, allocations: 2.133 MB / 0.4984 GB, free: 1.125 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3603, allocations: 0 / 0.4984 GB, free: 1.125 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.3603, allocations: 4 kB / 0.4984 GB, free: 1.121 MB / 346.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.000378/0.3607, allocations: 378.4 kB / 0.4988 GB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.3607, allocations: 12.03 kB / 0.4988 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.042e-05/0.3608, allocations: 7.906 kB / 0.4988 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.361, allocations: 211.3 kB / 0.499 GB, free: 448 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.3611, allocations: 7.953 kB / 0.499 GB, free: 440 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.3611, allocations: 11.94 kB / 0.499 GB, free: 428 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.795e-05/0.3612, allocations: 36.36 kB / 0.4991 GB, free: 392 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.3616, allocations: 211 kB / 0.4993 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.3616, allocations: 0 / 0.4993 GB, free: 164 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.3616, allocations: 3.984 kB / 0.4993 GB, free: 160 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.244e-06/0.3616, allocations: 4 kB / 0.4993 GB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.362, allocations: 294.9 kB / 0.4996 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001811/0.3622, allocations: 131.7 kB / 0.4997 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.3623, allocations: 78.67 kB / 0.4998 GB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.3624, allocations: 4 kB / 0.4998 GB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.375e-05/0.3624, allocations: 34.56 kB / 0.4998 GB, free: 15.53 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.3624, allocations: 0 / 0.4998 GB, free: 15.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002304/0.3626, allocations: 114.8 kB / 0.4999 GB, free: 15.41 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.083e-05/0.3627, allocations: 111 kB / 0.5 GB, free: 15.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.186e-05/0.3628, allocations: 113.2 kB / 0.5001 GB, free: 15.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.32e-05/0.3628, allocations: 29.7 kB / 0.5002 GB, free: 15.13 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.3629, allocations: 96.06 kB / 0.5003 GB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.3629, allocations: 11.91 kB / 0.5003 GB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.89e-06/0.3629, allocations: 0 / 0.5003 GB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001175/0.3631, allocations: 326.9 kB / 0.5006 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.49e-05/0.3631, allocations: 23.98 kB / 0.5006 GB, free: 14.67 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3632, allocations: 124.9 kB / 0.5007 GB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.099e-05/0.3633, allocations: 43.91 kB / 0.5008 GB, free: 14.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3633, allocations: 0 / 0.5008 GB, free: 14.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001899/0.3635, allocations: 137.6 kB / 0.5009 GB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3635, allocations: 4 kB / 0.5009 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3635, allocations: 4 kB / 0.5009 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.3636, allocations: 11.95 kB / 0.5009 GB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3637, allocations: 35.92 kB / 0.5009 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3637, allocations: 7.938 kB / 0.501 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.3638, allocations: 11.91 kB / 0.501 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.3638, allocations: 12 kB / 0.501 GB, free: 14.23 MB / 362.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.792e-05/0.3639, allocations: 121 kB / 0.5011 GB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.364, allocations: 101.5 kB / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.3641, allocations: 20.73 kB / 0.5012 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.3641, allocations: 0 / 0.5012 GB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.331e-06/0.3641, allocations: 7.953 kB / 0.5012 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.3641, allocations: 0 / 0.5012 GB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.3643, allocations: 158.1 kB / 0.5014 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3643, allocations: 4 kB / 0.5014 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3644, allocations: 35.86 kB / 0.5014 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3644, allocations: 4.031 kB / 0.5014 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3644, allocations: 7.938 kB / 0.5014 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.3644, allocations: 3.984 kB / 0.5014 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3644, allocations: 0 / 0.5014 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/0.3647, allocations: 259.5 kB / 0.5017 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.3647, allocations: 88.95 kB / 0.5018 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.3647, allocations: 3.984 kB / 0.5018 GB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.315e-05/0.3648, allocations: 11.89 kB / 0.5018 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.401e-05/0.3648, allocations: 0 / 0.5018 GB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.884e-06/0.3649, allocations: 4 kB / 0.5018 GB, free: 13.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.653e-05/0.3649, allocations: 103.3 kB / 0.5019 GB, free: 13.21 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3649, allocations: 0 / 0.5019 GB, free: 13.21 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.3652, allocations: 16 kB / 0.5019 GB, free: 13.2 MB / 362.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.315e-05/0.3653, allocations: 95.25 kB / 0.502 GB, free: 13.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000156/0.3655, allocations: 87.7 kB / 0.5021 GB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3655, allocations: 0 / 0.5021 GB, free: 13.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.3655, allocations: 4 kB / 0.5021 GB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.3658, allocations: 65.02 kB / 0.5021 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3662, allocations: 166.6 kB / 0.5023 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3665, allocations: 0.7201 MB / 0.503 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.81e-05/0.3665, allocations: 5.219 kB / 0.503 GB, free: 12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.3665, allocations: 23.42 kB / 0.503 GB, free: 11.97 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3665, allocations: 0 / 0.503 GB, free: 11.97 MB / 362.7 MB Notification: Performance of Templates: time 0.002863/0.3694, allocations: 0.9013 MB / 0.5039 GB, free: 11.07 MB / 362.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)