Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 177.8 kB / 8.406 MB, free: 0.6719 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.051/2.051, allocations: 205.3 MB / 214.1 MB, free: 1.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 82.7 kB / 262.1 MB, free: 1.613 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.1002/0.1002, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.342e-05/2.348e-05, allocations: 4 kB / 378.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3099, allocations: 50.37 MB / 429.3 MB, free: 18.4 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1426/0.4525, allocations: 78.9 MB / 0.4963 GB, free: 3.387 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.4528, allocations: 55.98 kB / 0.4963 GB, free: 3.332 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009529/0.4623, allocations: 2.137 MB / 0.4984 GB, free: 1.191 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4624, allocations: 0 / 0.4984 GB, free: 1.191 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.031e-05/0.4625, allocations: 4 kB / 0.4984 GB, free: 1.188 MB / 346.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.0005393/0.463, allocations: 378.4 kB / 0.4988 GB, free: 0.7695 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4631, allocations: 8.031 kB / 0.4988 GB, free: 0.7617 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.816e-05/0.4631, allocations: 11.91 kB / 0.4988 GB, free: 0.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.4635, allocations: 211.3 kB / 0.499 GB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/0.4635, allocations: 7.953 kB / 0.499 GB, free: 0.4961 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.4635, allocations: 8 kB / 0.499 GB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001548/0.4637, allocations: 36.38 kB / 0.4991 GB, free: 464 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.4643, allocations: 223 kB / 0.4993 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.4643, allocations: 0 / 0.4993 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.508e-05/0.4643, allocations: 0 / 0.4993 GB, free: 224 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.988e-06/0.4643, allocations: 4 kB / 0.4993 GB, free: 220 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005533/0.4649, allocations: 286.9 kB / 0.4995 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.4652, allocations: 139.6 kB / 0.4997 GB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.4654, allocations: 78.64 kB / 0.4997 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.29e-05/0.4654, allocations: 4.031 kB / 0.4998 GB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4655, allocations: 34.56 kB / 0.4998 GB, free: 15.59 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 2.284e-06/0.4655, allocations: 0 / 0.4998 GB, free: 15.59 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003731/0.4659, allocations: 115.1 kB / 0.4999 GB, free: 15.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.846e-05/0.466, allocations: 115.1 kB / 0.5 GB, free: 15.34 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001361/0.4661, allocations: 113.2 kB / 0.5001 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.4662, allocations: 25.7 kB / 0.5001 GB, free: 15.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.736e-05/0.4663, allocations: 166.4 kB / 0.5003 GB, free: 15.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.4663, allocations: 11.89 kB / 0.5003 GB, free: 15.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.4663, allocations: 4 kB / 0.5003 GB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4665, allocations: 314.8 kB / 0.5006 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.472e-05/0.4666, allocations: 16 kB / 0.5006 GB, free: 14.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4668, allocations: 128.8 kB / 0.5008 GB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4669, allocations: 47.91 kB / 0.5008 GB, free: 14.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4669, allocations: 0 / 0.5008 GB, free: 14.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003362/0.4673, allocations: 125.9 kB / 0.5009 GB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4673, allocations: 16.08 kB / 0.5009 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.4673, allocations: 4 kB / 0.5009 GB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/0.4674, allocations: 7.953 kB / 0.5009 GB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002554/0.4676, allocations: 35.92 kB / 0.501 GB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.4677, allocations: 7.938 kB / 0.501 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.4678, allocations: 11.91 kB / 0.501 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.4678, allocations: 8 kB / 0.501 GB, free: 14.24 MB / 362.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 0.000121/0.468, allocations: 112.9 kB / 0.5011 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002666/0.4682, allocations: 109.5 kB / 0.5012 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.4683, allocations: 16.73 kB / 0.5012 GB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.4683, allocations: 4 kB / 0.5012 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.4684, allocations: 3.953 kB / 0.5012 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4684, allocations: 0 / 0.5012 GB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.4686, allocations: 162.1 kB / 0.5014 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.4686, allocations: 0 / 0.5014 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.4689, allocations: 39.86 kB / 0.5014 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.4689, allocations: 4 kB / 0.5014 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4689, allocations: 32 / 0.5014 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.4689, allocations: 8 kB / 0.5014 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.469, allocations: 3.984 kB / 0.5014 GB, free: 13.74 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003487/0.4693, allocations: 242.9 kB / 0.5017 GB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.4694, allocations: 92.95 kB / 0.5018 GB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.451e-05/0.4695, allocations: 11.92 kB / 0.5018 GB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.4696, allocations: 11.95 kB / 0.5018 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.709e-05/0.4696, allocations: 0 / 0.5018 GB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.4697, allocations: 8 kB / 0.5018 GB, free: 13.33 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.421e-05/0.4698, allocations: 103.9 kB / 0.5019 GB, free: 13.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4698, allocations: 0 / 0.5019 GB, free: 13.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004044/0.4702, allocations: 12 kB / 0.5019 GB, free: 13.21 MB / 362.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.0001571/0.4704, allocations: 95.25 kB / 0.502 GB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002751/0.4707, allocations: 87.8 kB / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4707, allocations: 0 / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.196e-05/0.4707, allocations: 4 kB / 0.5021 GB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000469/0.4712, allocations: 67.81 kB / 0.5022 GB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.4719, allocations: 193.4 kB / 0.5023 GB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4722, allocations: 0.724 MB / 0.503 GB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.4723, allocations: 15.44 kB / 0.5031 GB, free: 11.96 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.4723, allocations: 0 / 0.5031 GB, free: 11.96 MB / 362.7 MB Notification: Performance of Templates: time 0.004377/0.4767, allocations: 1.354 MB / 0.5044 GB, free: 10.61 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay --alarm=480 > Modelica_Synchronous_cpp_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)