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: translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") translateModel(Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001035, allocations: 192 kB / 7.844 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.0009494/0.0009494, allocations: 90.02 kB / 261.5 MB, free: 13.55 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.06407/0.06407, allocations: 12.59 MB / 322 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 5.8e-06/5.821e-06, allocations: 0 / 378.4 MB, free: 75.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07314, allocations: 50.37 MB / 428.8 MB, free: 25.3 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2353/0.3085, allocations: 78.83 MB / 0.4957 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.3089, allocations: 62.08 kB / 0.4957 GB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.005693/0.3146, allocations: 1.82 MB / 0.4975 GB, free: 11.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.3146, allocations: 3.938 kB / 0.4975 GB, free: 11.59 MB / 330.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.0002773/0.3149, allocations: 378.1 kB / 0.4979 GB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.3149, allocations: 7.531 kB / 0.4979 GB, free: 11.22 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.315, allocations: 16.12 kB / 0.4979 GB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.3152, allocations: 206.4 kB / 0.4981 GB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3152, allocations: 7.812 kB / 0.4981 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3152, allocations: 7.688 kB / 0.4981 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.33e-05/0.3153, allocations: 38.03 kB / 0.4982 GB, free: 11 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3156, allocations: 211.1 kB / 0.4984 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.3156, allocations: 3.938 kB / 0.4984 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.3157, allocations: 0 / 0.4984 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.3157, allocations: 0 / 0.4984 GB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.316, allocations: 295.1 kB / 0.4986 GB, free: 10.65 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3161, allocations: 126.9 kB / 0.4988 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.3162, allocations: 81.78 kB / 0.4988 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.3163, allocations: 7.125 kB / 0.4988 GB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3163, allocations: 45.88 kB / 0.4989 GB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.3163, allocations: 0 / 0.4989 GB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0002128/0.3165, allocations: 114 kB / 0.499 GB, free: 10.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.3166, allocations: 109.9 kB / 0.4991 GB, free: 10.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.832e-05/0.3167, allocations: 115 kB / 0.4992 GB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.3167, allocations: 33.73 kB / 0.4992 GB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.068e-05/0.3167, allocations: 91.78 kB / 0.4993 GB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.3167, allocations: 9.359 kB / 0.4993 GB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.3167, allocations: 0 / 0.4993 GB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.831e-05/0.3168, allocations: 334.1 kB / 0.4997 GB, free: 9.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.029e-05/0.3168, allocations: 18.78 kB / 0.4997 GB, free: 9.797 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.293e-05/0.3169, allocations: 120.7 kB / 0.4998 GB, free: 9.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.091e-05/0.3169, allocations: 37.84 kB / 0.4998 GB, free: 9.648 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.317, allocations: 3.688 kB / 0.4998 GB, free: 9.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001673/0.3171, allocations: 137.8 kB / 0.5 GB, free: 9.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.727e-06/0.3171, allocations: 7.719 kB / 0.5 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.3172, allocations: 5.172 kB / 0.5 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3172, allocations: 4.438 kB / 0.5 GB, free: 9.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.3173, allocations: 39.83 kB / 0.5 GB, free: 9.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.3173, allocations: 11.66 kB / 0.5 GB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.171e-05/0.3174, allocations: 9.359 kB / 0.5 GB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.3174, allocations: 14.94 kB / 0.5001 GB, free: 9.574 MB / 330.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 5.03e-05/0.3175, allocations: 108.9 kB / 0.5002 GB, free: 9.461 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.3176, allocations: 104.1 kB / 0.5003 GB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.971e-05/0.3177, allocations: 24.83 kB / 0.5003 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3177, allocations: 3.844 kB / 0.5003 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3177, allocations: 1.5 kB / 0.5003 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3177, allocations: 0 / 0.5003 GB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.3178, allocations: 163.9 kB / 0.5004 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3178, allocations: 1.266 kB / 0.5004 GB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3179, allocations: 40.44 kB / 0.5005 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.318, allocations: 0 / 0.5005 GB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.318, allocations: 7.781 kB / 0.5005 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.318, allocations: 0.625 kB / 0.5005 GB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.318, allocations: 4 kB / 0.5005 GB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001612/0.3182, allocations: 254.4 kB / 0.5007 GB, free: 9.039 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.3182, allocations: 90.39 kB / 0.5008 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.3182, allocations: 3.844 kB / 0.5008 GB, free: 8.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.3183, allocations: 13.3 kB / 0.5008 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.3183, allocations: 0 / 0.5008 GB, free: 8.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.3184, allocations: 5.703 kB / 0.5008 GB, free: 8.93 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.455e-05/0.3184, allocations: 98.69 kB / 0.5009 GB, free: 8.855 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002664/0.3187, allocations: 15.59 kB / 0.501 GB, free: 8.855 MB / 330.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 7.63e-05/0.3187, allocations: 95.84 kB / 0.501 GB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001323/0.3189, allocations: 91.73 kB / 0.5011 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3189, allocations: 0 / 0.5011 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.3189, allocations: 3.844 kB / 0.5011 GB, free: 8.746 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3192, allocations: 70.52 kB / 0.5012 GB, free: 8.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003782/0.3196, allocations: 154 kB / 0.5014 GB, free: 8.637 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001978/0.3198, allocations: 0.7445 MB / 0.5021 GB, free: 7.926 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3198, allocations: 0 / 0.5021 GB, free: 7.926 MB / 330.7 MB Notification: Performance of Templates: time 0.002894/0.3227, allocations: 0.9777 MB / 0.503 GB, free: 7.824 MB / 330.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.makefile (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 & ./Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.WorkInProgress.Tests.TestCommunicationDelay.pipe 2>&1)