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.0015/0.001499, allocations: 181 kB / 8.049 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.298/2.298, allocations: 205.3 MB / 213.8 MB, free: 13.77 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.00118/0.00118, allocations: 93.97 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.117/0.117, allocations: 12.59 MB / 322.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.035e-05/3.056e-05, allocations: 8 kB / 379 MB, free: 75.19 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0955/0.09557, allocations: 50.37 MB / 429.4 MB, free: 24.83 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4563/0.5519, allocations: 78.9 MB / 0.4964 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5522, allocations: 66.78 kB / 0.4965 GB, free: 11.62 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008322/0.5605, allocations: 2.139 MB / 0.4985 GB, free: 11.19 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.5606, allocations: 6.984 kB / 0.4986 GB, free: 11.19 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.5606, allocations: 0 / 0.4986 GB, free: 11.19 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.0004071/0.561, allocations: 382.4 kB / 0.4989 GB, free: 10.81 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.5611, allocations: 15.56 kB / 0.4989 GB, free: 10.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.5612, allocations: 7.75 kB / 0.4989 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.5615, allocations: 209.7 kB / 0.4991 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.5615, allocations: 3.953 kB / 0.4991 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5615, allocations: 11.69 kB / 0.4992 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001403/0.5617, allocations: 38.03 kB / 0.4992 GB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.5621, allocations: 207.4 kB / 0.4994 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.5622, allocations: 3.844 kB / 0.4994 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5622, allocations: 3.562 kB / 0.4994 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5622, allocations: 0 / 0.4994 GB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004134/0.5626, allocations: 291.4 kB / 0.4997 GB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.5629, allocations: 128.7 kB / 0.4998 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.5631, allocations: 85.72 kB / 0.4999 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.5631, allocations: 7.938 kB / 0.4999 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.5631, allocations: 37.22 kB / 0.4999 GB, free: 10.09 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.974e-06/0.5631, allocations: 0 / 0.4999 GB, free: 10.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003186/0.5635, allocations: 110.4 kB / 0.5 GB, free: 10.05 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.5635, allocations: 110.9 kB / 0.5001 GB, free: 9.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.981e-05/0.5637, allocations: 122.1 kB / 0.5003 GB, free: 9.828 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.5637, allocations: 25.7 kB / 0.5003 GB, free: 9.797 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.831e-05/0.5637, allocations: 101.8 kB / 0.5004 GB, free: 9.707 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.5638, allocations: 2.938 kB / 0.5004 GB, free: 9.707 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.5638, allocations: 3.844 kB / 0.5004 GB, free: 9.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.962e-05/0.5639, allocations: 324.5 kB / 0.5007 GB, free: 9.395 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.72e-05/0.5639, allocations: 14.94 kB / 0.5007 GB, free: 9.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.876e-05/0.564, allocations: 130.3 kB / 0.5008 GB, free: 9.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.236e-05/0.5641, allocations: 37.53 kB / 0.5009 GB, free: 9.242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.5641, allocations: 4 kB / 0.5009 GB, free: 9.238 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002644/0.5644, allocations: 133.2 kB / 0.501 GB, free: 9.188 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5644, allocations: 8.406 kB / 0.501 GB, free: 9.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.5645, allocations: 7.781 kB / 0.501 GB, free: 9.184 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.5645, allocations: 7.766 kB / 0.501 GB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.5647, allocations: 39.89 kB / 0.5011 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.5647, allocations: 7.75 kB / 0.5011 GB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.5649, allocations: 15.03 kB / 0.5011 GB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.5649, allocations: 7.75 kB / 0.5011 GB, free: 9.172 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.494e-05/0.565, allocations: 116.1 kB / 0.5012 GB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002425/0.5652, allocations: 115.9 kB / 0.5013 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.5653, allocations: 22.86 kB / 0.5013 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.938e-05/0.5654, allocations: 10.88 kB / 0.5013 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.5654, allocations: 3.812 kB / 0.5013 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.5654, allocations: 0 / 0.5013 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5654, allocations: 7.781 kB / 0.5013 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.5656, allocations: 158.9 kB / 0.5015 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5656, allocations: 7.781 kB / 0.5015 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.5658, allocations: 30.41 kB / 0.5015 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5658, allocations: 0 / 0.5015 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.374e-05/0.5659, allocations: 11 kB / 0.5015 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.5659, allocations: 3.953 kB / 0.5015 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5659, allocations: 0 / 0.5015 GB, free: 8.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.5662, allocations: 250.8 kB / 0.5018 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.5662, allocations: 100.7 kB / 0.5019 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.5663, allocations: 3.375 kB / 0.5019 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5664, allocations: 6.375 kB / 0.5019 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.5664, allocations: 3.875 kB / 0.5019 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.5665, allocations: 3.75 kB / 0.5019 GB, free: 8.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.5665, allocations: 97.92 kB / 0.502 GB, free: 8.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5665, allocations: 0 / 0.502 GB, free: 8.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003711/0.5669, allocations: 11.22 kB / 0.502 GB, free: 8.445 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.000597/0.5675, allocations: 0.9659 MB / 0.5029 GB, free: 7.586 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.5678, allocations: 89.95 kB / 0.503 GB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5678, allocations: 0 / 0.503 GB, free: 7.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.233e-05/0.5678, allocations: 7.625 kB / 0.503 GB, free: 7.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.5682, allocations: 58.38 kB / 0.5031 GB, free: 7.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007633/0.569, allocations: 210.3 kB / 0.5033 GB, free: 7.418 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.5692, allocations: 0.7223 MB / 0.504 GB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.556e-05/0.5693, allocations: 8.781 kB / 0.504 GB, free: 6.719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.317e-05/0.5694, allocations: 29.31 kB / 0.504 GB, free: 6.711 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5694, allocations: 0 / 0.504 GB, free: 6.711 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03803/0.6075, allocations: 1.958 MB / 0.506 GB, free: 6.57 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002328/0.6078, allocations: 161.6 kB / 0.5061 GB, free: 6.379 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.074, allocations: 5.969 kB / 0.5061 GB, free: 6.375 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)