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.001676/0.001681, allocations: 186.1 kB / 15.81 MB, free: 6.027 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.145/2.145, allocations: 205.4 MB / 221.9 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.001142/0.001141, allocations: 90.86 kB / 270.3 MB, free: 13.36 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.1374/0.1374, allocations: 12.6 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005576/0.0005577, allocations: 13.67 kB / 392.1 MB, free: 54.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09347/0.09407, 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.002279/0.0964, allocations: 1.479 MB / 444 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.09795, allocations: 0.6675 MB / 444.6 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001712/0.09817, allocations: 0 / 444.6 MB, free: 8.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.09844, allocations: 23.8 kB / 444.6 MB, free: 8.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.09856, allocations: 23.89 kB / 444.7 MB, free: 8.605 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007271/0.0993, allocations: 125.5 kB / 444.8 MB, free: 8.484 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.09949, allocations: 63.83 kB / 444.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.09965, allocations: 41.02 kB / 444.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.09978, allocations: 27.86 kB / 444.9 MB, free: 8.355 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.09992, allocations: 39.78 kB / 445 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.09995, allocations: 3.938 kB / 445 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.09997, allocations: 4 kB / 445 MB, free: 8.309 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1, allocations: 15.92 kB / 445 MB, free: 8.293 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.982e-05/0.1001, allocations: 37.64 kB / 445 MB, free: 8.25 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001041/0.1002, allocations: 56.45 kB / 445.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.1002, allocations: 0 / 445.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1002, allocations: 0 / 445.1 MB, free: 8.195 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1002, allocations: 0 / 445.1 MB, free: 8.195 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.000505/0.1008, allocations: 387.5 kB / 445.5 MB, free: 7.77 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.1008, allocations: 16.02 kB / 445.5 MB, free: 7.754 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.998e-05/0.1009, allocations: 34.56 kB / 445.5 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.692e-05/0.1009, allocations: 15.81 kB / 445.5 MB, free: 7.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1011, allocations: 210.9 kB / 445.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.1012, allocations: 8.188 kB / 445.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1012, allocations: 11.98 kB / 445.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005534/0.1018, allocations: 250.5 kB / 446 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1018, allocations: 0 / 446 MB, free: 7.168 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.1018, allocations: 11.89 kB / 446 MB, free: 7.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.775e-06/0.1018, allocations: 4 kB / 446 MB, free: 7.152 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002007/0.102, allocations: 51.91 kB / 446.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.1024, allocations: 306.5 kB / 446.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003044/0.1027, allocations: 147.7 kB / 446.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.017e-05/0.1028, allocations: 8.016 kB / 446.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.1028, allocations: 38.5 kB / 446.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 2.034e-06/0.1028, allocations: 0 / 446.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005649/0.1034, allocations: 181.6 kB / 446.7 MB, free: 6.336 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.117e-05/0.1035, allocations: 110.8 kB / 446.8 MB, free: 6.203 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.1036, allocations: 136.6 kB / 447 MB, free: 6.062 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.1036, allocations: 33.64 kB / 447 MB, free: 6.023 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.181e-05/0.1037, allocations: 96.38 kB / 447.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.434e-05/0.1037, allocations: 11.91 kB / 447.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.348e-06/0.1037, allocations: 4 kB / 447.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.1038, allocations: 322.8 kB / 447.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.893e-05/0.1039, allocations: 27.97 kB / 447.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001398/0.1041, allocations: 130.6 kB / 447.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1042, allocations: 55.88 kB / 447.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.1042, allocations: 0 / 447.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000382/0.1046, allocations: 177.6 kB / 447.8 MB, free: 5.145 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/0.1047, allocations: 12.06 kB / 447.8 MB, free: 5.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.1047, allocations: 7.984 kB / 447.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.1047, allocations: 4 kB / 447.8 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.1049, allocations: 35.92 kB / 447.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.105, allocations: 4 kB / 447.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001255/0.1051, allocations: 19.84 kB / 447.9 MB, free: 5.062 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.1051, allocations: 8 kB / 447.9 MB, free: 5.055 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.0001602/0.1053, allocations: 141.4 kB / 448 MB, free: 4.906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/0.1055, allocations: 121.5 kB / 448.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.1056, allocations: 12.84 kB / 448.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.1056, allocations: 4 kB / 448.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1056, allocations: 0 / 448.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.1056, allocations: 3.938 kB / 448.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.1059, allocations: 197.5 kB / 448.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.1059, allocations: 7.953 kB / 448.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002083/0.1061, allocations: 31.98 kB / 448.4 MB, free: 4.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.1061, allocations: 4 kB / 448.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1061, allocations: 0 / 448.4 MB, free: 4.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.1061, allocations: 7.969 kB / 448.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.1062, allocations: 4 kB / 448.4 MB, free: 4.465 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.1065, allocations: 268.4 kB / 448.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.1066, allocations: 92.94 kB / 448.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.045e-05/0.1066, allocations: 8 kB / 448.8 MB, free: 4.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.1068, allocations: 4 kB / 448.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.1068, allocations: 4 kB / 448.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.1068, allocations: 7.984 kB / 448.8 MB, free: 4.035 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.734e-05/0.1069, allocations: 109 kB / 448.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1069, allocations: 0 / 448.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003986/0.1073, allocations: 20 kB / 448.9 MB, free: 3.91 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.0007801/0.1081, allocations: 0.9953 MB / 449.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003422/0.1085, allocations: 108.6 kB / 450 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1085, allocations: 0 / 450 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.491e-05/0.1086, allocations: 16.06 kB / 450 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004445/0.109, allocations: 75.89 kB / 450.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.1115, allocations: 3.216 MB / 453.3 MB, free: 15.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.112, allocations: 0.7126 MB / 454 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.297e-05/0.1121, allocations: 9.078 kB / 454 MB, free: 14.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.1122, allocations: 35.42 kB / 454.1 MB, free: 14.56 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1122, allocations: 4 kB / 454.1 MB, free: 14.55 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1389, allocations: 2.27 MB / 456.4 MB, free: 12.29 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003756/0.1393, allocations: 213.1 kB / 456.6 MB, free: 12.04 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/2.623, allocations: 4 kB / 456.6 MB, free: 12.04 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)