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.001005/0.001005, allocations: 175.6 kB / 16.12 MB, free: 5.688 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.396/1.396, allocations: 205 MB / 221.9 MB, free: 9.156 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.0007321/0.0007322, allocations: 89.17 kB / 269.9 MB, free: 8.672 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.0986/0.0986, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003591/0.0003593, allocations: 12 kB / 391.2 MB, free: 66.34 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0767/0.07707, allocations: 49.99 MB / 441.1 MB, free: 16.31 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.00146/0.07857, allocations: 1.523 MB / 442.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.07948, allocations: 0.7138 MB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.471e-05/0.07959, allocations: 3.938 kB / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002487/0.07985, allocations: 27.86 kB / 443.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.835e-05/0.07989, allocations: 3.938 kB / 443.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002478/0.08014, allocations: 55.89 kB / 443.5 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.08026, allocations: 107.6 kB / 443.6 MB, free: 13.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.08039, allocations: 56.83 kB / 443.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.08047, allocations: 27.86 kB / 443.7 MB, free: 13.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.08057, allocations: 31.78 kB / 443.7 MB, free: 13.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.0806, allocations: 4 kB / 443.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.075e-05/0.08061, allocations: 0 / 443.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.08067, allocations: 19.92 kB / 443.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.878e-05/0.08072, allocations: 35.67 kB / 443.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.167e-05/0.08082, allocations: 75.92 kB / 443.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.08083, allocations: 4 kB / 443.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.08084, allocations: 0 / 443.8 MB, free: 13.6 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.08085, allocations: 0 / 443.8 MB, free: 13.6 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.0003405/0.08119, allocations: 383.4 kB / 444.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.08123, allocations: 15.91 kB / 444.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.013e-05/0.08127, allocations: 50.67 kB / 444.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.0813, allocations: 16.75 kB / 444.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.08145, allocations: 200.3 kB / 444.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.08147, allocations: 12.56 kB / 444.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.08148, allocations: 15.94 kB / 444.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.08182, allocations: 253.4 kB / 444.7 MB, free: 12.56 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.056e-06/0.08184, allocations: 4 kB / 444.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.448e-06/0.08185, allocations: 4 kB / 444.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.08186, allocations: 3.984 kB / 444.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001097/0.08198, allocations: 51.97 kB / 444.8 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002273/0.08221, allocations: 310.4 kB / 445.1 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.0824, allocations: 151.7 kB / 445.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.08251, allocations: 90.61 kB / 445.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.08254, allocations: 4 kB / 445.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.08256, allocations: 42.5 kB / 445.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.483e-06/0.08257, allocations: 0 / 445.4 MB, free: 11.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003224/0.08289, allocations: 179.3 kB / 445.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.874e-05/0.08294, allocations: 123.4 kB / 445.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.232e-05/0.08301, allocations: 124.3 kB / 445.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.08303, allocations: 29.7 kB / 445.8 MB, free: 11.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.455e-05/0.08306, allocations: 100 kB / 445.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.08308, allocations: 23.81 kB / 446 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.153e-05/0.08311, allocations: 17.72 kB / 446 MB, free: 11.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.08315, allocations: 326.9 kB / 446.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.08321, allocations: 23.98 kB / 446.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.454e-05/0.0833, allocations: 134.5 kB / 446.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.08344, allocations: 182.3 kB / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.08345, allocations: 0 / 446.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002087/0.08366, allocations: 173.2 kB / 446.8 MB, free: 10.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.08368, allocations: 8 kB / 446.8 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.08369, allocations: 8.469 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.08371, allocations: 8 kB / 446.8 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.08382, allocations: 39.92 kB / 446.9 MB, free: 10.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.08384, allocations: 11.92 kB / 446.9 MB, free: 10.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.872e-05/0.08391, allocations: 11.91 kB / 446.9 MB, free: 10.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.08392, allocations: 8 kB / 446.9 MB, free: 10.14 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 ($CLKPRE.fixedDelay.first,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 8.594e-05/0.08401, allocations: 133.7 kB / 447 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.08415, allocations: 113.5 kB / 447.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.08418, allocations: 20.77 kB / 447.2 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.08419, allocations: 8.031 kB / 447.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.0842, allocations: 0 / 447.2 MB, free: 9.852 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.08421, allocations: 4 kB / 447.2 MB, free: 9.848 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.08433, allocations: 197.4 kB / 447.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.08434, allocations: 0 / 447.4 MB, free: 9.605 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.792e-05/0.08444, allocations: 31.92 kB / 447.4 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.08445, allocations: 4 kB / 447.4 MB, free: 9.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.08446, allocations: 11.92 kB / 447.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.08447, allocations: 4 kB / 447.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.08448, allocations: 0 / 447.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.08467, allocations: 252 kB / 447.7 MB, free: 9.289 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.0847, allocations: 88.95 kB / 447.7 MB, free: 9.184 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.08472, allocations: 7.938 kB / 447.8 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.048e-05/0.0848, allocations: 15.98 kB / 447.8 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.08483, allocations: 4 kB / 447.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.08484, allocations: 4 kB / 447.8 MB, free: 9.152 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.08488, allocations: 99.27 kB / 447.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08488, allocations: 0 / 447.9 MB, free: 9.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002415/0.08513, allocations: 23.91 kB / 447.9 MB, free: 9.031 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.0003978/0.08553, allocations: 0.835 MB / 448.7 MB, free: 8.16 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001753/0.08572, allocations: 112.3 kB / 448.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.08573, allocations: 0 / 448.8 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.26e-05/0.08577, allocations: 11.98 kB / 448.9 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.08611, allocations: 79.88 kB / 448.9 MB, free: 7.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000875/0.08699, allocations: 0.8141 MB / 449.7 MB, free: 7.039 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.08711, allocations: 0.7165 MB / 450.5 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.738e-05/0.08715, allocations: 13.06 kB / 450.5 MB, free: 6.281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.0872, allocations: 35.42 kB / 450.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of SimCode: time 2.31e-07/0.08721, allocations: 0 / 450.5 MB, free: 6.25 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01042/0.09764, allocations: 2.272 MB / 452.8 MB, free: 3.969 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/0.09782, allocations: 223.2 kB / 453 MB, free: 3.715 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.802, allocations: 0 / 453 MB, free: 3.715 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)