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.0009894/0.0009894, allocations: 172.4 kB / 16.14 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.339/1.339, allocations: 205.4 MB / 222.3 MB, free: 9.004 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.0007252/0.0007252, allocations: 93.42 kB / 270.7 MB, free: 8.242 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.07966/0.07966, allocations: 12.6 MB / 331.5 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003668, allocations: 12.38 kB / 392.8 MB, free: 65.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.09662, allocations: 50.37 MB / 443.1 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.001794/0.09846, allocations: 1.511 MB / 444.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001131/0.09961, allocations: 0.6943 MB / 445.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001034/0.09973, allocations: 4 kB / 445.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002412/0.09998, allocations: 23.86 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.1, allocations: 7.875 kB / 445.4 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.1003, allocations: 59.94 kB / 445.4 MB, free: 13.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001265/0.1004, allocations: 107.6 kB / 445.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.1006, allocations: 52.83 kB / 445.6 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.863e-05/0.1007, allocations: 31.8 kB / 445.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001114/0.1008, allocations: 35.77 kB / 445.7 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.1008, allocations: 8 kB / 445.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.1008, allocations: 0 / 445.7 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.66e-05/0.1009, allocations: 19.88 kB / 445.7 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.757e-05/0.101, allocations: 57.44 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001173/0.1011, allocations: 79.91 kB / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1011, allocations: 0 / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1011, allocations: 0 / 445.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.1011, allocations: 0 / 445.8 MB, free: 12.62 MB / 298.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.000532/0.1017, allocations: 391.3 kB / 446.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.1017, allocations: 8.031 kB / 446.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1018, allocations: 42.75 kB / 446.2 MB, free: 12.13 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.082e-05/0.1018, allocations: 16.75 kB / 446.3 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.102, allocations: 204.2 kB / 446.5 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.102, allocations: 8.562 kB / 446.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.102, allocations: 15.94 kB / 446.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003982/0.1024, allocations: 249.4 kB / 446.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.1024, allocations: 0 / 446.7 MB, free: 11.59 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1025, allocations: 4 kB / 446.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1025, allocations: 3.984 kB / 446.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.1026, allocations: 61.31 kB / 446.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003518/0.103, allocations: 310.4 kB / 447.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.1032, allocations: 151.7 kB / 447.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.1033, allocations: 94.55 kB / 447.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1034, allocations: 4 kB / 447.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.1034, allocations: 38.56 kB / 447.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.1034, allocations: 0 / 447.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003486/0.1037, allocations: 178 kB / 447.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1038, allocations: 122.9 kB / 447.7 MB, free: 10.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.1039, allocations: 128.1 kB / 447.8 MB, free: 10.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.178e-05/0.1039, allocations: 33.7 kB / 447.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.1039, allocations: 96.05 kB / 447.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.17e-05/0.104, allocations: 23.81 kB / 448 MB, free: 10.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.104, allocations: 0 / 448 MB, free: 10.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.689e-05/0.104, allocations: 326.8 kB / 448.3 MB, free: 9.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.966e-05/0.1041, allocations: 27.98 kB / 448.3 MB, free: 9.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.1042, allocations: 134.5 kB / 448.4 MB, free: 9.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1044, allocations: 178.3 kB / 448.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1044, allocations: 0 / 448.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002258/0.1046, allocations: 181.4 kB / 448.8 MB, free: 9.266 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.1046, allocations: 8 kB / 448.8 MB, free: 9.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1047, allocations: 7.938 kB / 448.8 MB, free: 9.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.1047, allocations: 4 kB / 448.8 MB, free: 9.246 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001196/0.1048, allocations: 35.92 kB / 448.8 MB, free: 9.211 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.1048, allocations: 7.984 kB / 448.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.1049, allocations: 19.89 kB / 448.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.1049, allocations: 8.281 kB / 448.9 MB, free: 9.176 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001161/0.105, allocations: 134.6 kB / 449 MB, free: 9.035 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.1052, allocations: 121.5 kB / 449.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.137e-05/0.1052, allocations: 20.78 kB / 449.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1052, allocations: 0 / 449.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1053, allocations: 0 / 449.1 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1053, allocations: 7.984 kB / 449.2 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1054, allocations: 189.5 kB / 449.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.1054, allocations: 0 / 449.3 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.1055, allocations: 32.02 kB / 449.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1055, allocations: 7.938 kB / 449.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1056, allocations: 7.938 kB / 449.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.1056, allocations: 8 kB / 449.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1056, allocations: 0 / 449.4 MB, free: 8.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.1058, allocations: 255.5 kB / 449.6 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.1058, allocations: 88.95 kB / 449.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.1058, allocations: 3.938 kB / 449.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.162e-05/0.1059, allocations: 8 kB / 449.7 MB, free: 8.207 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.598e-05/0.106, allocations: 7.984 kB / 449.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.106, allocations: 4 kB / 449.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.684e-05/0.106, allocations: 99.27 kB / 449.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.106, allocations: 0 / 449.8 MB, free: 8.098 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.1063, allocations: 31.84 kB / 449.9 MB, free: 8.066 MB / 298.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004727/0.1068, allocations: 0.8323 MB / 450.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.107, allocations: 103.8 kB / 450.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.107, allocations: 1.125 kB / 450.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.653e-05/0.107, allocations: 23.86 kB / 450.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1074, allocations: 75.95 kB / 450.9 MB, free: 7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1085, allocations: 0.8293 MB / 451.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001485/0.1086, allocations: 0.7126 MB / 452.5 MB, free: 5.328 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.309e-05/0.1087, allocations: 17.06 kB / 452.5 MB, free: 5.309 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1087, allocations: 35.42 kB / 452.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1088, allocations: 0 / 452.5 MB, free: 5.277 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01169/0.1205, allocations: 2.259 MB / 454.8 MB, free: 3.008 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/0.1207, allocations: 223.1 kB / 455 MB, free: 2.754 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/1.781, allocations: 0 / 455 MB, free: 2.754 MB / 298.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)