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.002456/0.002455, allocations: 181.1 kB / 13.23 MB, free: 2.086 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.373/2.373, allocations: 205.2 MB / 219 MB, free: 9.211 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.001089/0.001089, allocations: 96.44 kB / 267.1 MB, free: 9.273 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.1098/0.1098, allocations: 12.58 MB / 327.7 MB, free: 12.5 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.801e-05/3.836e-05, allocations: 4 kB / 386.1 MB, free: 69.51 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09444/0.09452, allocations: 50.37 MB / 436.5 MB, free: 19.12 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/0.538, allocations: 79.57 MB / 0.5039 GB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5383, allocations: 65.27 kB / 0.504 GB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008826/0.5472, allocations: 2.148 MB / 0.5061 GB, free: 11.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5473, allocations: 3.938 kB / 0.5061 GB, free: 11.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.5473, allocations: 0 / 0.5061 GB, free: 11.43 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.0004716/0.5478, allocations: 381 kB / 0.5065 GB, free: 11.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.5478, allocations: 11.12 kB / 0.5065 GB, free: 11.05 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.5479, allocations: 44.59 kB / 0.5065 GB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.146e-05/0.5479, allocations: 7.75 kB / 0.5065 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002937/0.5482, allocations: 219.3 kB / 0.5067 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.5483, allocations: 11.56 kB / 0.5068 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.5483, allocations: 6.906 kB / 0.5068 GB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005334/0.5489, allocations: 220.5 kB / 0.507 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.5489, allocations: 4 kB / 0.507 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.5489, allocations: 3.25 kB / 0.507 GB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5489, allocations: 7.625 kB / 0.507 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001244/0.5491, allocations: 41.62 kB / 0.507 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.5496, allocations: 316.2 kB / 0.5073 GB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.5499, allocations: 152.8 kB / 0.5075 GB, free: 10.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.5501, allocations: 77.05 kB / 0.5075 GB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.138e-05/0.5501, allocations: 7.906 kB / 0.5076 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.5501, allocations: 45.56 kB / 0.5076 GB, free: 10.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 2.866e-06/0.5501, allocations: 0 / 0.5076 GB, free: 10.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003671/0.5505, allocations: 127.8 kB / 0.5077 GB, free: 10.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/0.5506, allocations: 118.1 kB / 0.5078 GB, free: 10.01 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.5507, allocations: 117.4 kB / 0.5079 GB, free: 9.918 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.5508, allocations: 25.7 kB / 0.508 GB, free: 9.887 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.235e-05/0.5508, allocations: 101.7 kB / 0.5081 GB, free: 9.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.5509, allocations: 11.33 kB / 0.5081 GB, free: 9.793 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.664e-06/0.5509, allocations: 0 / 0.5081 GB, free: 9.793 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.551, allocations: 325.7 kB / 0.5084 GB, free: 9.477 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.92e-05/0.551, allocations: 15.19 kB / 0.5084 GB, free: 9.477 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001219/0.5512, allocations: 134.2 kB / 0.5085 GB, free: 9.332 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.5513, allocations: 42.17 kB / 0.5086 GB, free: 9.316 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.5513, allocations: 7.844 kB / 0.5086 GB, free: 9.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003132/0.5516, allocations: 166.7 kB / 0.5087 GB, free: 9.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.5517, allocations: 4.406 kB / 0.5087 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5517, allocations: 7.875 kB / 0.5087 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.851e-05/0.5517, allocations: 7.844 kB / 0.5088 GB, free: 9.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.552, allocations: 34.8 kB / 0.5088 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.552, allocations: 3.875 kB / 0.5088 GB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.5522, allocations: 23.36 kB / 0.5088 GB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5522, allocations: 7.688 kB / 0.5088 GB, free: 9.211 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 9.165e-05/0.5523, allocations: 118.9 kB / 0.5089 GB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.5526, allocations: 128.2 kB / 0.5091 GB, free: 9.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.014e-05/0.5526, allocations: 15.91 kB / 0.5091 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.5527, allocations: 7.906 kB / 0.5091 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5527, allocations: 0 / 0.5091 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.5527, allocations: 3.906 kB / 0.5091 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/0.5529, allocations: 191 kB / 0.5093 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.5529, allocations: 3.844 kB / 0.5093 GB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002138/0.5532, allocations: 35.02 kB / 0.5093 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.5532, allocations: 0 / 0.5093 GB, free: 8.809 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.5532, allocations: 11.77 kB / 0.5093 GB, free: 8.805 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.5532, allocations: 3.984 kB / 0.5093 GB, free: 8.801 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.5532, allocations: 4 kB / 0.5093 GB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002973/0.5535, allocations: 261.9 kB / 0.5096 GB, free: 8.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.5536, allocations: 88.8 kB / 0.5097 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.225e-05/0.5536, allocations: 7.781 kB / 0.5097 GB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.5538, allocations: 11.7 kB / 0.5097 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.5538, allocations: 0 / 0.5097 GB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.5538, allocations: 11.34 kB / 0.5097 GB, free: 8.484 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.714e-05/0.5539, allocations: 101.9 kB / 0.5098 GB, free: 8.406 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.5539, allocations: 3.938 kB / 0.5098 GB, free: 8.402 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003703/0.5543, allocations: 18.88 kB / 0.5098 GB, free: 8.402 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 0.0006527/0.555, allocations: 0.9761 MB / 0.5108 GB, free: 7.535 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002561/0.5552, allocations: 100.9 kB / 0.5109 GB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.5553, allocations: 0 / 0.5109 GB, free: 7.516 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.622e-05/0.5553, allocations: 7.875 kB / 0.5109 GB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004699/0.5558, allocations: 67.64 kB / 0.5109 GB, free: 7.5 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008188/0.5566, allocations: 209.8 kB / 0.5111 GB, free: 7.348 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.5568, allocations: 0.727 MB / 0.5118 GB, free: 6.629 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.51e-05/0.5569, allocations: 9.078 kB / 0.5118 GB, free: 6.621 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.557, allocations: 29.38 kB / 0.5119 GB, free: 6.613 MB / 330.7 MB Notification: Performance of SimCode: time 2.715e-06/0.557, allocations: 0 / 0.5119 GB, free: 6.613 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0274/0.5844, allocations: 2.297 MB / 0.5141 GB, free: 5.426 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002833/0.5848, allocations: 173.1 kB / 0.5143 GB, free: 5.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.555/3.14, allocations: 11.94 kB / 0.5143 GB, free: 5.191 MB / 330.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)