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.00106/0.00106, allocations: 176.2 kB / 15.82 MB, free: 6.305 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.502/1.502, allocations: 205.4 MB / 222 MB, free: 13.83 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.001031/0.001031, allocations: 94.22 kB / 270.3 MB, free: 13.35 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.08586/0.08586, allocations: 12.59 MB / 331.2 MB, free: 10.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005798/0.00058, allocations: 22.25 kB / 392.1 MB, free: 54.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1146, allocations: 50.37 MB / 442.5 MB, free: 10.82 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay): time 0.002206/0.1168, allocations: 1.478 MB / 444 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001229/0.1181, allocations: 0.6713 MB / 444.6 MB, free: 8.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.1184, allocations: 4 kB / 444.6 MB, free: 8.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003045/0.1187, allocations: 31.78 kB / 444.7 MB, free: 8.609 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.98e-05/0.1188, allocations: 7.875 kB / 444.7 MB, free: 8.602 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.1192, allocations: 55.88 kB / 444.7 MB, free: 8.547 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001709/0.1194, allocations: 91.72 kB / 444.8 MB, free: 8.457 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.1196, allocations: 45 kB / 444.9 MB, free: 8.414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001098/0.1197, allocations: 27.86 kB / 444.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.1198, allocations: 27.8 kB / 444.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.1198, allocations: 4 kB / 444.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.5e-05/0.1199, allocations: 4 kB / 444.9 MB, free: 8.352 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.671e-05/0.1199, allocations: 23.91 kB / 445 MB, free: 8.328 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.932e-05/0.12, allocations: 37.64 kB / 445 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.423e-05/0.1201, allocations: 54.7 kB / 445.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1201, allocations: 0 / 445.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1201, allocations: 0 / 445.1 MB, free: 8.234 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.84e-06/0.1201, allocations: 0 / 445.1 MB, free: 8.234 MB / 282.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.0005197/0.1206, allocations: 376.1 kB / 445.4 MB, free: 7.82 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.1207, allocations: 12.03 kB / 445.4 MB, free: 7.809 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.295e-05/0.1207, allocations: 46.55 kB / 445.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.1208, allocations: 15.81 kB / 445.5 MB, free: 7.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.121, allocations: 210.9 kB / 445.7 MB, free: 7.492 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.673e-05/0.121, allocations: 8.188 kB / 445.7 MB, free: 7.484 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.1211, allocations: 8 kB / 445.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.1215, allocations: 250.5 kB / 446 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1215, allocations: 0 / 446 MB, free: 7.215 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.1216, allocations: 3.953 kB / 446 MB, free: 7.211 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1216, allocations: 4 kB / 446 MB, free: 7.207 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001974/0.1218, allocations: 51.91 kB / 446 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1222, allocations: 314.5 kB / 446.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.1224, allocations: 147.7 kB / 446.5 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/0.1226, allocations: 96.25 kB / 446.6 MB, free: 6.52 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.236e-05/0.1226, allocations: 4.281 kB / 446.6 MB, free: 6.516 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.1226, allocations: 34.56 kB / 446.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.1226, allocations: 0 / 446.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003926/0.123, allocations: 177.4 kB / 446.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.1231, allocations: 126.7 kB / 446.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.1232, allocations: 128.6 kB / 447 MB, free: 6.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.1232, allocations: 33.69 kB / 447.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.371e-05/0.1233, allocations: 100.3 kB / 447.2 MB, free: 5.871 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.867e-05/0.1233, allocations: 15.89 kB / 447.2 MB, free: 5.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.1233, allocations: 3.938 kB / 447.2 MB, free: 5.852 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.1234, allocations: 318.8 kB / 447.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.262e-05/0.1234, allocations: 31.98 kB / 447.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.1235, allocations: 134.5 kB / 447.6 MB, free: 5.316 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.96e-05/0.1236, allocations: 51.92 kB / 447.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1236, allocations: 4 kB / 447.7 MB, free: 5.262 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002436/0.1239, allocations: 177.6 kB / 447.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1239, allocations: 11.94 kB / 447.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1239, allocations: 4 kB / 447.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.124, allocations: 4 kB / 447.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.1241, allocations: 35.92 kB / 447.9 MB, free: 5.027 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.1241, allocations: 4 kB / 447.9 MB, free: 5.023 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.1242, allocations: 19.89 kB / 448 MB, free: 5.004 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1242, allocations: 8 kB / 448 MB, free: 4.996 MB / 282.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.0001283/0.1243, allocations: 145.5 kB / 448.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/0.1245, allocations: 121.5 kB / 448.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1245, allocations: 12.84 kB / 448.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1246, allocations: 7.984 kB / 448.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1246, allocations: 0 / 448.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/0.1246, allocations: 7.984 kB / 448.2 MB, free: 4.691 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.1247, allocations: 189.5 kB / 448.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.1247, allocations: 0 / 448.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.1248, allocations: 31.92 kB / 448.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-06/0.1249, allocations: 4.031 kB / 448.5 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1249, allocations: 8 kB / 448.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1249, allocations: 4 kB / 448.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1249, allocations: 0 / 448.5 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.1251, allocations: 249 kB / 448.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.898e-05/0.1252, allocations: 92.91 kB / 448.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1252, allocations: 4 kB / 448.8 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.152e-05/0.1253, allocations: 8 kB / 448.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.1253, allocations: 7.922 kB / 448.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.1253, allocations: 4 kB / 448.8 MB, free: 4.012 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.6e-05/0.1254, allocations: 105 kB / 448.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1254, allocations: 0 / 448.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00025/0.1256, allocations: 20 kB / 449 MB, free: 3.891 MB / 282.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.0005206/0.1262, allocations: 0.835 MB / 449.8 MB, free: 3.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1264, allocations: 103.6 kB / 449.9 MB, free: 2.922 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1264, allocations: 4 kB / 449.9 MB, free: 2.918 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.237e-05/0.1265, allocations: 16.98 kB / 449.9 MB, free: 2.902 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003918/0.1269, allocations: 72.05 kB / 450 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00111/0.128, allocations: 0.824 MB / 450.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.1282, allocations: 0.7087 MB / 451.5 MB, free: 1.172 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1282, allocations: 13.08 kB / 451.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.812e-05/0.1283, allocations: 35.42 kB / 451.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of SimCode: time 3.01e-07/0.1283, allocations: 0 / 451.6 MB, free: 1.125 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01489/0.1432, allocations: 2.281 MB / 453.8 MB, free: 14.84 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001859/0.1434, allocations: 219.2 kB / 454.1 MB, free: 14.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.629/1.772, allocations: 0 / 454.1 MB, free: 14.59 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)