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: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002526/0.002527, allocations: 182.2 kB / 15.8 MB, free: 6.316 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.103/2.103, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001265/0.001265, allocations: 94.84 kB / 270.3 MB, free: 13.36 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.1013/0.1013, allocations: 12.61 MB / 331.1 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005448/0.0005448, allocations: 15.38 kB / 392.1 MB, free: 54.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09699/0.09758, allocations: 50.36 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.2439, allocations: 79.67 MB / 0.5099 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.2442, allocations: 71.91 kB / 0.51 GB, free: 10.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009705/0.254, allocations: 2.161 MB / 0.5121 GB, free: 8.797 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.254, allocations: 0 / 0.5121 GB, free: 8.797 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.254, allocations: 0 / 0.5121 GB, free: 8.797 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.0006221/0.2547, allocations: 403 kB / 0.5125 GB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2547, allocations: 8.031 kB / 0.5125 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.033e-05/0.2548, allocations: 42.55 kB / 0.5125 GB, free: 8.293 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.2548, allocations: 11.81 kB / 0.5125 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.2552, allocations: 211.3 kB / 0.5127 GB, free: 8.035 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.2552, allocations: 12.19 kB / 0.5127 GB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.834e-05/0.2553, allocations: 8 kB / 0.5127 GB, free: 8.016 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006529/0.2559, allocations: 246.5 kB / 0.513 GB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.2559, allocations: 7.922 kB / 0.513 GB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.256, allocations: 0 / 0.513 GB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.256, allocations: 4 kB / 0.513 GB, free: 7.746 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002292/0.2562, allocations: 51.92 kB / 0.513 GB, free: 7.695 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.2568, allocations: 322.4 kB / 0.5133 GB, free: 7.324 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003968/0.2572, allocations: 147.7 kB / 0.5135 GB, free: 7.152 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.015e-05/0.2573, allocations: 12.09 kB / 0.5135 GB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.2573, allocations: 34.56 kB / 0.5135 GB, free: 7.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 1.954e-06/0.2573, allocations: 0 / 0.5135 GB, free: 7.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006702/0.258, allocations: 185.6 kB / 0.5137 GB, free: 6.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/0.2581, allocations: 119 kB / 0.5138 GB, free: 6.77 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.2583, allocations: 123.8 kB / 0.5139 GB, free: 6.645 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.2583, allocations: 25.7 kB / 0.514 GB, free: 6.613 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.2584, allocations: 92.14 kB / 0.514 GB, free: 6.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.2584, allocations: 15.88 kB / 0.5141 GB, free: 6.504 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.073e-05/0.2584, allocations: 11.94 kB / 0.5141 GB, free: 6.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2586, allocations: 318.8 kB / 0.5144 GB, free: 6.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.2587, allocations: 31.98 kB / 0.5144 GB, free: 6.141 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001994/0.2589, allocations: 130.5 kB / 0.5145 GB, free: 5.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.2591, allocations: 49.02 kB / 0.5146 GB, free: 5.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.2591, allocations: 0 / 0.5146 GB, free: 5.914 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004827/0.2596, allocations: 181.1 kB / 0.5148 GB, free: 5.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.2597, allocations: 8 kB / 0.5148 GB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2597, allocations: 7.938 kB / 0.5148 GB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.282e-05/0.2597, allocations: 4 kB / 0.5148 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002604/0.26, allocations: 40.45 kB / 0.5148 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-05/0.26, allocations: 19.91 kB / 0.5148 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.2603, allocations: 15.84 kB / 0.5148 GB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.2603, allocations: 12 kB / 0.5149 GB, free: 5.625 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 () * 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 0.0002217/0.2606, allocations: 125.6 kB / 0.515 GB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.261, allocations: 125.4 kB / 0.5151 GB, free: 5.363 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.016e-05/0.2611, allocations: 12.84 kB / 0.5151 GB, free: 5.348 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.2611, allocations: 4 kB / 0.5151 GB, free: 5.344 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.2611, allocations: 3.984 kB / 0.5151 GB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2611, allocations: 4.031 kB / 0.5151 GB, free: 5.336 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.2615, allocations: 189.5 kB / 0.5153 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.2616, allocations: 4 kB / 0.5153 GB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.2618, allocations: 35.92 kB / 0.5153 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.2619, allocations: 7.984 kB / 0.5153 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.2619, allocations: 3.953 kB / 0.5153 GB, free: 5.051 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.2619, allocations: 4 kB / 0.5154 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.2619, allocations: 0 / 0.5154 GB, free: 5.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005006/0.2624, allocations: 284.3 kB / 0.5156 GB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-05/0.2625, allocations: 88.92 kB / 0.5157 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.337e-05/0.2625, allocations: 3.984 kB / 0.5157 GB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2627, allocations: 12 kB / 0.5157 GB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.2627, allocations: 4 kB / 0.5157 GB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2627, allocations: 4 kB / 0.5157 GB, free: 4.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2629, allocations: 101.1 kB / 0.5158 GB, free: 4.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2629, allocations: 0 / 0.5158 GB, free: 4.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003931/0.2633, allocations: 16 kB / 0.5158 GB, free: 4.492 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 () * 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 0.001177/0.2645, allocations: 1.003 MB / 0.5168 GB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003875/0.2649, allocations: 119.5 kB / 0.5169 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2649, allocations: 0 / 0.5169 GB, free: 3.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.665e-05/0.265, allocations: 8 kB / 0.5169 GB, free: 3.328 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.2654, allocations: 73.77 kB / 0.517 GB, free: 3.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2748/0.5402, allocations: 3.204 MB / 0.5201 GB, free: 85.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001916/0.5405, allocations: 0.7142 MB / 0.5208 GB, free: 85.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.346e-05/0.5406, allocations: 12.03 kB / 0.5209 GB, free: 85.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.446e-05/0.5407, allocations: 35.23 kB / 0.5209 GB, free: 85.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5407, allocations: 0 / 0.5209 GB, free: 85.26 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02501/0.5657, allocations: 2.291 MB / 0.5231 GB, free: 85 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003389/0.5661, allocations: 202.6 kB / 0.5233 GB, free: 84.76 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.894, allocations: 4 kB / 0.5233 GB, free: 84.75 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay_fmu --startTime=0 --stopTime=1.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestCommunicationDelay.fmu > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)