Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_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.001728/0.001728, allocations: 186.4 kB / 13.7 MB, free: 1.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.105/2.105, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001096/0.001096, allocations: 90.7 kB / 267.6 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.09933/0.09933, allocations: 12.6 MB / 328.2 MB, free: 11.16 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.381e-05, allocations: 4 kB / 386 MB, free: 1.309 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.301, allocations: 50.36 MB / 436.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.4435, allocations: 79.58 MB / 0.5038 GB, free: 14.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4438, allocations: 59.97 kB / 0.5039 GB, free: 14.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008952/0.4527, allocations: 2.144 MB / 0.506 GB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4528, allocations: 3.938 kB / 0.506 GB, free: 12.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4528, allocations: 8 kB / 0.506 GB, free: 12.25 MB / 362.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.0004608/0.4533, allocations: 374.4 kB / 0.5063 GB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.4534, allocations: 16.02 kB / 0.5064 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.495e-05/0.4534, allocations: 7.906 kB / 0.5064 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003147/0.4537, allocations: 211.3 kB / 0.5066 GB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4538, allocations: 8.141 kB / 0.5066 GB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.4538, allocations: 8 kB / 0.5066 GB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.4544, allocations: 238.7 kB / 0.5068 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.4544, allocations: 4 kB / 0.5068 GB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.4544, allocations: 3.938 kB / 0.5068 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.4545, allocations: 4 kB / 0.5068 GB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.4546, allocations: 49.84 kB / 0.5069 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.4551, allocations: 314.4 kB / 0.5072 GB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000305/0.4554, allocations: 147.7 kB / 0.5073 GB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.4556, allocations: 83.3 kB / 0.5074 GB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.4557, allocations: 4.031 kB / 0.5074 GB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.4557, allocations: 38.56 kB / 0.5074 GB, free: 10.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.755e-06/0.4557, allocations: 4 kB / 0.5074 GB, free: 10.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003683/0.4561, allocations: 125.7 kB / 0.5075 GB, free: 10.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.687e-05/0.4562, allocations: 118.8 kB / 0.5077 GB, free: 10.29 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.4564, allocations: 114.4 kB / 0.5078 GB, free: 10.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.411e-05/0.4564, allocations: 33.7 kB / 0.5078 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.402e-05/0.4565, allocations: 154.6 kB / 0.5079 GB, free: 9.984 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.4565, allocations: 15.89 kB / 0.508 GB, free: 9.969 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4565, allocations: 8.062 kB / 0.508 GB, free: 9.961 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/0.4567, allocations: 314.8 kB / 0.5083 GB, free: 9.645 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.409e-05/0.4567, allocations: 23.98 kB / 0.5083 GB, free: 9.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001392/0.4569, allocations: 122.5 kB / 0.5084 GB, free: 9.449 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.457, allocations: 51.91 kB / 0.5085 GB, free: 9.398 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.457, allocations: 0 / 0.5085 GB, free: 9.398 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003426/0.4574, allocations: 157.2 kB / 0.5086 GB, free: 9.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4574, allocations: 8 kB / 0.5086 GB, free: 9.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.4574, allocations: 8 kB / 0.5086 GB, free: 9.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4575, allocations: 4.531 kB / 0.5086 GB, free: 9.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.4577, allocations: 39.92 kB / 0.5087 GB, free: 9.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.4578, allocations: 11.98 kB / 0.5087 GB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001453/0.4579, allocations: 19.83 kB / 0.5087 GB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.004e-05/0.458, allocations: 8 kB / 0.5087 GB, free: 9.141 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 0.0001112/0.4581, allocations: 124.7 kB / 0.5088 GB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.4584, allocations: 118.1 kB / 0.5089 GB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.049e-05/0.4585, allocations: 16.75 kB / 0.509 GB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4585, allocations: 4 kB / 0.509 GB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.4585, allocations: 4.031 kB / 0.509 GB, free: 8.867 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.4585, allocations: 3.984 kB / 0.509 GB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.4588, allocations: 189.5 kB / 0.5091 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4588, allocations: 0 / 0.5091 GB, free: 8.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002402/0.459, allocations: 31.98 kB / 0.5092 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.4591, allocations: 11.88 kB / 0.5092 GB, free: 8.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.4591, allocations: 3.953 kB / 0.5092 GB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.4591, allocations: 3.984 kB / 0.5092 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4591, allocations: 4 kB / 0.5092 GB, free: 8.574 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.4595, allocations: 264.9 kB / 0.5095 GB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.617e-05/0.4596, allocations: 88.95 kB / 0.5095 GB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.725e-05/0.4596, allocations: 7.984 kB / 0.5095 GB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.4598, allocations: 8 kB / 0.5096 GB, free: 8.16 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.4598, allocations: 8 kB / 0.5096 GB, free: 8.152 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.4598, allocations: 4 kB / 0.5096 GB, free: 8.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.911e-05/0.4599, allocations: 103.2 kB / 0.5097 GB, free: 8.047 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.336e-06/0.46, allocations: 0 / 0.5097 GB, free: 8.047 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.4603, allocations: 23.94 kB / 0.5097 GB, free: 8.023 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 0.0001273/0.4605, allocations: 91.25 kB / 0.5098 GB, free: 7.926 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002733/0.4608, allocations: 102 kB / 0.5099 GB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4608, allocations: 0 / 0.5099 GB, free: 7.828 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.543e-05/0.4608, allocations: 4 kB / 0.5099 GB, free: 7.824 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.4612, allocations: 71.83 kB / 0.5099 GB, free: 7.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.4619, allocations: 200.3 kB / 0.5101 GB, free: 7.527 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.4622, allocations: 0.7247 MB / 0.5108 GB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.687e-05/0.4623, allocations: 15.44 kB / 0.5109 GB, free: 6.762 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4623, allocations: 3.938 kB / 0.5109 GB, free: 6.758 MB / 362.7 MB Notification: Performance of Templates: time 0.004036/0.4663, allocations: 1.373 MB / 0.5122 GB, free: 5.379 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)